summaryrefslogtreecommitdiff
path: root/per-service
diff options
context:
space:
mode:
authorFathi Boudra <fathi.boudra@linaro.org>2016-07-31 09:33:22 +0300
committerPaul Sokolovsky <paul.sokolovsky@linaro.org>2016-07-31 12:53:14 +0000
commit082006dbe84c30b2fa595cd11f8269a7c37bd1b0 (patch)
treeda4759b683fd1b7059f92fe63026e30c3623d2f8 /per-service
parente377ea99433ca4741db12c2d4b543ac9f899e75c (diff)
downloadansible-playbooks-082006dbe84c30b2fa595cd11f8269a7c37bd1b0.tar.gz
jenkins: restore previous behavior of allowing any build parameters
In Jenkins >= 1.651.2 or >= 2.3, only build parameters that have been explicitly defined in a job's configuration will be available by default at build time. Pass -Dhudson.model.ParametersAction.keepUndefinedParameters=true to JAVA_ARGS in order to restore previous behavior. For reference: https://wiki.jenkins-ci.org/display/JENKINS/Plugins+affected+by+fix+for+SECURITY-170 https://wiki.jenkins-ci.org/display/SECURITY/Jenkins+Security+Advisory+2016-05-11 https://jenkins.io/blog/2016/05/11/security-update/ Change-Id: Ie4bd250c7733966b027d02bef9dc272b8f00a39d Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> Reviewed-on: https://review.linaro.org/13537 Reviewed-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
Diffstat (limited to 'per-service')
-rw-r--r--per-service/jenkins/roles/jenkins/tasks/jenkins-pkgs.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/per-service/jenkins/roles/jenkins/tasks/jenkins-pkgs.yml b/per-service/jenkins/roles/jenkins/tasks/jenkins-pkgs.yml
index 156271d..9183108 100644
--- a/per-service/jenkins/roles/jenkins/tasks/jenkins-pkgs.yml
+++ b/per-service/jenkins/roles/jenkins/tasks/jenkins-pkgs.yml
@@ -48,5 +48,5 @@
# org.jenkinsci.plugins.gitclient.Git.timeOut set here as a
# workaround for https://storyboard.openstack.org/#!/story/2000372
lineinfile: regexp="^JAVA_ARGS="
- line="JAVA_ARGS=\"-Djava.awt.headless=true -Dhudson.slaves.WorkspaceList='_' -Dorg.jenkinsci.plugins.gitclient.Git.timeOut=30 -Dorg.eclipse.jetty.server.Request.maxFormContentSize=500000\""
+ line="JAVA_ARGS=\"-Djava.awt.headless=true -Dhudson.slaves.WorkspaceList='_' -Dhudson.model.ParametersAction.keepUndefinedParameters=true -Dorg.jenkinsci.plugins.gitclient.Git.timeOut=30 -Dorg.eclipse.jetty.server.Request.maxFormContentSize=500000\""
dest=/etc/default/jenkins backup=yes