Hi ArieBregman, I have found the reason for this problem. It is a Jenkins version bug as Mikhail says. And I have resolved it according to Mikhail's suggestion.
Thank you all the same :) >On Sun, Sep 4, 2016 at 6:18 PM, <li.yuanzhen?zte.com.cn> wrote: >> Hi all, >> For deploy CI env, I need a help for Zuul. >> >> In the slave node, I can not get the "zuul" >> environments variables using 'env' shell command, >> such as 'ZUUL_URL'. >> >> The following is the config and log info >> *) /etc/zuul/layout/zuul.conf: >> http://paste.ubuntu.com/23132730/ >> *) /etc/jenkins_jobs/config/citest.yaml >> http://paste.ubuntu.com/23132723/ >> *) jenkins job result: >> http://paste.ubuntu.com/23132737/ >> *) /var/log/zuul/zuul.log >> http://paste.ubuntu.com/23132745/ >> *) /var/log/zuul/merger-debug.log >> http://paste.ubuntu.com/23132748/ >> *) /var/log/zuul/debug.log >> http://paste.ubuntu.com/23132762/ >> >> I check the zuul code and it has been got the >> 'zuul_url' variables in zuul-mergerr, but in slave nodes, >> these variables can not be passed by zuul-scheduler. >> >> Is there any wrong in my zuul config or jenkins jobs? > >When the Jenkins job starts, do you see Zuul variables in 'Environment >Variables'? (on build page. You can also get to it with: ><job_name>/<build_number>/injectedEnvVars) > >> >> Thank you >> >> BRs >> liyuanzhen >> >> >> >> >> _______________________________________________ >> OpenStack-Infra mailing list >> OpenStack-Infra?lists.openstack.org >> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-infra >> > > > >-- >Arie Bregman >Red Hat Israel >Component CI: https://mojo.redhat.com/groups/rhos-core-ci/overview
_______________________________________________ OpenStack-Infra mailing list OpenStack-Infra@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-infra