-
Bug
-
Resolution: Fixed
-
Major
-
Jenkins ver. 1.651.2
Lockable Resources plugin 1.8
Reserved resources variable name will not work after the SECURITY-170 update so you need to use the workaround (-Dhudson.model.ParametersAction.safeParameters)
log :
May 16, 2016 10:32:48 AM hudson.model.ParametersAction filter
WARNING: Skipped parameter `Test` as it is undefined on `test_lock`. Set `-Dhudson.model.ParametersAction.keepUndefinedParameters`=true to allow undefined parameters to be injected as environment variables or `-Dhudson.model.ParametersAction.safeParameters=[comma-separated list]` to whitelist specific parameter names, even though it represents a security breach
May 16, 2016 10:32:48 AM hudson.model.ParametersAction filter
WARNING: Skipped parameter `Test` as it is undefined on `test_lock`. Set `-Dhudson.model.ParametersAction.keepUndefinedParameters`=true to allow undefined parameters to be injected as environment variables or `-Dhudson.model.ParametersAction.safeParameters=[comma-separated list]` to whitelist specific parameter names, even though it represents a security breach
May 16, 2016 10:35:19 AM winstone.Logger logInternal
- links to
Code changed in jenkins
User: Antonio Muñiz
Path:
pom.xml
src/main/java/org/jenkins/plugins/lockableresources/actions/ResourceVariableNameAction.java
src/main/java/org/jenkins/plugins/lockableresources/queue/LockRunListener.java
src/test/java/org/jenkins/plugins/lockableresources/BasicIntegrationTest.java
http://jenkins-ci.org/commit/lockable-resources-plugin/5c19ed7a2887a41dac999876b1d9381bf414732b
Log:
JENKINS-34853Inject required resources environment as a custom Action. Acknowledge SECURITY-170