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?

How To Trigger Jenkins Build Using The Python Package Jenkinsapi?

I have a Jenkins job set up with the name Test2 which I can build from Jenkins web interface. Now I… Read more How To Trigger Jenkins Build Using The Python Package Jenkinsapi?

How To Start A Window Exe File In A Jenkins Job

I have a Jenkins job in which I need to start windows program. I've tried to use subprocess of … Read more How To Start A Window Exe File In A Jenkins Job

Triggering Parameterized Build Using Jenkinsapi In Python

I am using the following code to create a job in jenkinsapi from jenkinsapi.jenkins import * from j… Read more Triggering Parameterized Build Using Jenkinsapi In Python

Parse Html File Using Python Without External Module

I am trying to Parse a html file using Python without using any external module. The reason is I a… Read more Parse Html File Using Python Without External Module

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?

What Does "client Failed To Connect To The D-bus Daemon" Mean?

I am using a very complex setup to test various non-public webpages. I use jenkins to run the pytho… Read more What Does "client Failed To Connect To The D-bus Daemon" Mean?