From 9e08de0bcfdecc77c5c0f4d0c87a5a5e65aa2fef Mon Sep 17 00:00:00 2001 From: James Shubin Date: Fri, 29 Jan 2016 11:10:23 -0500 Subject: [PATCH] Try and pass through with export --- misc/centos-ci.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/centos-ci.py b/misc/centos-ci.py index e0df59cd..ffd6ea04 100755 --- a/misc/centos-ci.py +++ b/misc/centos-ci.py @@ -59,7 +59,7 @@ if r != 0: # the second ssh call will run with the omv /etc/profile.d/ script loaded git = "git clone --recursive %s %s && cd %s && git checkout %s" % (git_url, folder, folder, branch) -cmd = "%s '%s && %s'" % (ssh, git, run) # run +cmd = "%s 'export JENKINS_URL=%s && %s && %s'" % (ssh, os.getenv('JENKINS_URL', ''), git, run) # run print cmd r = subprocess.call(cmd, shell=True) if r != 0: