Merge "Apply same URL workaround to clean build."

This commit is contained in:
Dan Albert 2015-05-08 17:15:31 +00:00 committed by Gerrit Code Review
commit 11fc3f47af

View file

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