Skip to content Skip to sidebar Skip to footer
Showing posts with the label Jenkins

How To Fetch The Current Branch From Jenkins?

I would like to query Jenkins using it's API and Python to fetch the branch that is currently r… Read more How To Fetch The Current Branch From Jenkins?

How To Run Python Commands Using Groovy In Jenkins Slaves' Script Console?

I need to run something arbitrary as simple as python -c 'print('hello')' on one of… Read more How To Run Python Commands Using Groovy In Jenkins Slaves' Script Console?

While Using Jenkins Api, Getting A Failure On Reconfig_job

I am using jenkins rest API to recurse through jobs and then reconfigure this one. All methods work… Read more While Using Jenkins Api, Getting A Failure On Reconfig_job

Custom Location For .pypirc File

Does setuptools allow for the .pypirc file to be specified in a custom location rather than $HOME/.… Read more Custom Location For .pypirc File

Jenkins Git Plugin: Git Describe Cannot Describe Anything

I am using the Git Plugin of Jenkins ans use Douglas Creager's get_git_version script. This use… Read more Jenkins Git Plugin: Git Describe Cannot Describe Anything

How To Authenticate In Jenkins While Remotely Accessing Its Json Api?

I need to access the Jenkins JSON API from a Python script. The problem is that our Jenkins install… Read more How To Authenticate In Jenkins While Remotely Accessing Its Json Api?