Status: Resolved (View Workflow)
Earlier I was on Jenkins version 1.653 and the below script was able to set a parameter value from groovy post build script.
_def pa = new ParametersAction([new StringParameterValue("TestStatusLog", "Test Passed with Warnings")])
// add variable to current job
Yesterday(7/18), I have upgraded Jenkins to version 2.13 and to my surprise, the above code is not working any more. Please check and try to fix this.
I believe this is caused for fix of SECURITY-170 in Jenkins core.
See https://wiki.jenkins-ci.org/display/SECURITY/Jenkins+Security+Advisory+2016-05-11 for details.
Check your problem is affected by SECURITY-170 e.g. by setting hudson.model.ParametersAction.safeParameters to jvm properties.
If you find your issue unrelated to SECURITY-170,
please report more details: