Skip to content

Commit

Permalink
Fixed nightly/publish behaviour for jenkins
Browse files Browse the repository at this point in the history
  • Loading branch information
Stathis Voukelatos committed Mar 17, 2015
1 parent e2edc51 commit 9938d9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jenkins_script.py
Expand Up @@ -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)
Expand Down

0 comments on commit 9938d9c

Please sign in to comment.