am 7472b500: am 27b38599: Merge "Work around a bug in the Jenkins queue API."
* commit '7472b500a3545b603c56b3fb7f6f7075c3872b84': Work around a bug in the Jenkins queue API.
This commit is contained in:
commit
3190c5128d
@ -190,8 +190,10 @@ def build_project(gerrit_info, dry_run, lunch_target=None):
|
||||
if lunch_target is not None:
|
||||
params['LUNCH_TARGET'] = lunch_target
|
||||
if not dry_run:
|
||||
job = jenkins[build].invoke(build_params=params)
|
||||
url = job.get_build().baseurl
|
||||
_ = jenkins[build].invoke(build_params=params)
|
||||
# https://issues.jenkins-ci.org/browse/JENKINS-27256
|
||||
# url = job.get_build().baseurl
|
||||
url = 'URL UNAVAILABLE'
|
||||
else:
|
||||
url = 'DRY_RUN_URL'
|
||||
print '{}({}): {} => {} {} {}'.format(
|
||||
|
Loading…
x
Reference in New Issue
Block a user