From 9938d9c05a11196aa9b6a0c10fd1b1d46c0c0c3f Mon Sep 17 00:00:00 2001 From: Stathis Voukelatos Date: Tue, 17 Mar 2015 10:38:03 +0000 Subject: [PATCH] Fixed nightly/publish behaviour for jenkins --- jenkins_script.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jenkins_script.py b/jenkins_script.py index 9c7131560..482bf8c36 100755 --- a/jenkins_script.py +++ b/jenkins_script.py @@ -18,9 +18,9 @@ scrd=os.path.join(scrd, 'ohNet') cargs=['-p', cenv['PLATFORM']] -if 'NIGHTLY' in cenv: +if cenv.get('NIGHTLY') == 'true': cargs += ['-n',] -if 'PUBLISH' in cenv: +if cenv.get('PUBLISH') == 'true': cargs += ['-r', '-v', cenv['PUBLISH_VERSION']] subprocess.check_call(args=prefix + ['python', os.path.join(scrd, 'hudson_build.py')] + cargs, cwd=cdir)