How to retrieve Jenkins build parameters using the Groovy API? -


i have parameterized job uses perforce plugin , retrieve build parameters/properties p4.change property that's set perforce plugin.

how retrieve these properties jenkins groovy api?

regarding parameters:

see answer first. list of builds project (obtained per answer):

project.builds 

when find particular build, need actions of type parametersaction build.getactions(hudson.model.parametersaction). query returned object specific parameters.

regarding p4.change: suspect stored action. in jenkins groovy console actions build contains p4.change , examine them - give idea in code.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -