<font size=2 face="宋体">Hi Mikhail,</font>
<br>
<br><font size=2 face="宋体">Very glad to receive your response. </font>
<br><font size=2 face="宋体">In my env, the version of Jenkins is 2.7.2. </font>
<br>
<br>
<br><font size=2 face="宋体">Now my Jenkins jobs can get environment
variables after I modify my</font>
<br><font size=2 face="宋体">Jenkins env with your suggestion. </font>
<br><font size=2 face="宋体">Thank you very much.</font>
<br>
<br>
<br><font size=2 face="宋体">></font>
<br><font size=2 face="宋体">>Hi Li,</font>
<br><font size=2 face="宋体">></font>
<br><font size=2 face="宋体">>On Sun, Sep 4, 2016 at 10:18 AM,  <li.yuanzhen?zte.com.cn>
wrote:</font>
<br><font size=2 face="宋体">>> Hi all,</font>
<br><font size=2 face="宋体">>>         For deploy
CI env, I need a help for Zuul.</font>
<br><font size=2 face="宋体">>></font>
<br><font size=2 face="宋体">>>         In the
slave node, I can not get the "zuul"</font>
<br><font size=2 face="宋体">>>         environments
variables using 'env' shell command,</font>
<br><font size=2 face="宋体">>>         such
as 'ZUUL_URL'.</font>
<br><font size=2 face="宋体">>></font>
<br><font size=2 face="宋体">>>         The following
is the config and log info</font>
<br><font size=2 face="宋体">>>         *) /etc/zuul/layout/zuul.conf:</font>
<br><font size=2 face="宋体">>>          
      </font><a href=http://paste.ubuntu.com/23132730/><font size=2 face="宋体">http://paste.ubuntu.com/23132730/</font></a>
<br><font size=2 face="宋体">>>         *) /etc/jenkins_jobs/config/citest.yaml</font>
<br><font size=2 face="宋体">>>          
      </font><a href=http://paste.ubuntu.com/23132723/><font size=2 face="宋体">http://paste.ubuntu.com/23132723/</font></a>
<br><font size=2 face="宋体">>>         *) jenkins
job result:</font>
<br><font size=2 face="宋体">>>          
      </font><a href=http://paste.ubuntu.com/23132737/><font size=2 face="宋体">http://paste.ubuntu.com/23132737/</font></a>
<br><font size=2 face="宋体">>>         *) /var/log/zuul/zuul.log</font>
<br><font size=2 face="宋体">>>          
      </font><a href=http://paste.ubuntu.com/23132745/><font size=2 face="宋体">http://paste.ubuntu.com/23132745/</font></a>
<br><font size=2 face="宋体">>>         *) /var/log/zuul/merger-debug.log</font>
<br><font size=2 face="宋体">>>          
      </font><a href=http://paste.ubuntu.com/23132748/><font size=2 face="宋体">http://paste.ubuntu.com/23132748/</font></a>
<br><font size=2 face="宋体">>>         *) /var/log/zuul/debug.log</font>
<br><font size=2 face="宋体">>>          
      </font><a href=http://paste.ubuntu.com/23132762/><font size=2 face="宋体">http://paste.ubuntu.com/23132762/</font></a>
<br><font size=2 face="宋体">>></font>
<br><font size=2 face="宋体">>>        I check
the zuul code and it has been got the</font>
<br><font size=2 face="宋体">>>         'zuul_url'
variables in zuul-mergerr, but in slave nodes,</font>
<br><font size=2 face="宋体">>>          these
       variables can not be passed by zuul-scheduler.</font>
<br><font size=2 face="宋体">>></font>
<br><font size=2 face="宋体">>>         Is there
any wrong in my zuul config or jenkins jobs?</font>
<br><font size=2 face="宋体">></font>
<br><font size=2 face="宋体">>You might be affected by the fix to SECURITY-170
[1] in new Jenkins</font>
<br><font size=2 face="宋体">>you installed. It prevents Zuul from
passing paramters that are not</font>
<br><font size=2 face="宋体">>white listed. Which version of Jenkins
are you using? Last version</font>
<br><font size=2 face="宋体">>without the security fix is 1.651.1.</font>
<br><font size=2 face="宋体">></font>
<br><font size=2 face="宋体">>If you have later version, you would
need to either white list all</font>
<br><font size=2 face="宋体">>zuul variables (</font>
<br><font size=2 face="宋体">>-Dhudson.model.ParametersAction.safeParameters=ZUUL_URL,ZUUL_COMMIT
),</font>
<br><font size=2 face="宋体">>or disable that security feature (</font>
<br><font size=2 face="宋体">>-Dhudson.model.ParametersAction.keepUndefinedParameters=true
).</font>
<br><font size=2 face="宋体">></font>
<br><font size=2 face="宋体">>[1] </font><a href="https://wiki.jenkins-ci.org/display/JENKINS/Plugins+affected+by+fix+for+SECURITY-170"><font size=2 face="宋体">https://wiki.jenkins-ci.org/display/JENKINS/Plugins+affected+by+fix+for+SECURITY-170</font></a>
<br><font size=2 face="宋体">></font>
<br>