Tuesday, August 6, 2019

Useful Jenkins API

Get a list of Jobs in a View and its Nested Views along with some details

  • http://server/jenkins/view/TopViewName/api/xml?depth=2&pretty=true
I still have to figure out how to extract only the fields I want without build information

Wednesday, January 23, 2019

Git cheatsheet

You need to run the following four commands to work with Git: Ensure you are on the Master branch - to validate this, execute "git branch", the current branch will be indicated by a "*". To switch branch execute "git checkout master"
git checkout master
git pull origin master
git checkout -b STORY/  --this creates new branch
git checkout -t origin/STORY/   --this check's out existing branch you want to modify
git merge master
git pull origin STORY/
git add 
git commit -m " "
git push origin STORY/