Hi,

I have the following line appears many times in the log of Jenkins:

Dec 28, 2016 10:51:59 AM hudson.model.ParametersAction filter
WARNING: Skipped parameter `BRANCH_NAME` as it is undefined on 
`build-gaia-full`. Set `-Dhudson.model.ParametersAction.keepU
ndefinedParameters`=true to allow undefined parameters to be injected as 
environment variables or `-Dhudson.model.Parameters
Action.safeParameters=[comma-separated list]` to whitelist specific 
parameter names, even though it represents a security br
each


I tried setting the parameters as you can see here:

jenkins  10980     1  0 10:43 ?        00:00:00 /usr/bin/daemon --name=jenkins 
--inherit --env=JENKINS_HOME=/var/lib/jenkins --output=/var/log/jenkins/
jenkins.log --pidfile=/var/run/jenkins/jenkins.pid -- /usr/bin/java -Djava.
awt.headless=true -Dfile.encoding=UTF-8 -Dhudson.model.ParametersAction.
safeParameters=GAIA_BRANCH,BRANCH_NAME,EXTRA_GRADLE_SWITCHES -jar /usr/share
/jenkins/jenkins.war --webroot=/var/cache/jenkins/war --httpPort=8080 --
ajp13Port=-1
jenkins  10982 10980 17 10:43 ?        00:02:08 /usr/bin/java -Djava.awt.
headless=true -Dfile.encoding=UTF-8 -Dhudson.model.ParametersAction.
safeParameters=GAIA_BRANCH,BRANCH_NAME,EXTRA_GRADLE_SWITCHES -jar /usr/share
/jenkins/jenkins.war --webroot=/var/cache/jenkins/war --httpPort=8080 --
ajp13Port=-1

But it didn't help.

I also added the parameter BRANCH_NAME to this job, using the DSL:

parameters {
    stringParam('BRANCH_NAME')
}


This didn't help! Which is the weirdest thing ever than.


Any chance you guys seen it and solved it?


Thanks!

Asaf Mesika
Logz.io

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/e8f8e2c1-3b9d-4cde-922d-75a98258ea43%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to