2

There are a lot of builds in Jenkins, each has parameters. I know value of parameters and need to find all build with it.

0

1 Answer 1

2

Get your build history numbers from :

http://jenkins_url/job/project_name/api/json?tree=builds[number]

Then for each "number" in the builds array, find the params with

http://jenkins_url/job/project_name/<number>/api/json?tree=actions[parameters[*]]

If the resulting JSON contains your param, you got a hit

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.