Apply same URL workaround to clean build.

Change-Id: I63e63f6ffb879f49e36ee2d09821fc6fc47952c8
This commit is contained in:
Dan Albert 2015-05-07 16:33:42 -07:00
parent dc10b077ea
commit ded34ce94f
1 changed files with 4 additions and 2 deletions

View File

@ -73,8 +73,10 @@ def clean_project(dry_run):
build = 'clean-bionic-presubmit'
if build in jenkins:
if not dry_run:
job = jenkins[build].invoke()
url = job.get_build().baseurl
_ = jenkins[build].invoke()
# https://issues.jenkins-ci.org/browse/JENKINS-27256
# url = job.get_build().baseurl
url = 'URL UNAVAILABLE'
else:
url = 'DRY_RUN_URL'
logging.info('Cleaning: %s %s', build, url)