Re: Update existing job configuration parameter from code

2014-03-07 Thread Eric Pyle
You need to update the ParametersAction object of the build. I found the solution in the following link: https://groups.google.com/forum/#!topic/jenkinsci-users/szhuDfCvpiE. I could not use the code exactly as written in my company's instance of Jenkins. The ParametersAction.createUpdated metho

Update existing job configuration parameter from code

2014-03-06 Thread dev123
In my plugin I need to dynamically update the values of a bunch of String parameters that the user specified when building a job ParametersAction params = project.getAction(ParametersAction.class); // How do we update existing parameters? StringParameterValue parameter = (StringParameterValue) pa