Andrii Stasiuk
Andrii Stasiuk

Reputation: 147

Get information about the Jenkins builds related to specified username

I want to find all builds which started some user by his username. Is it possible to do with the help of Python?

Upvotes: 1

Views: 97

Answers (1)

marxmacher
marxmacher

Reputation: 601

Yes. you could use Python, if you have access to the jenkins master.

The userId is in build.xml which is usually in your jenkins jobs/you_job_name/builds/your_build_number/build.xml

You could iterate over all the jobs and their builds and get the answer from there.

Upvotes: 1

Related Questions