am 27b38599: Merge "Work around a bug in the Jenkins queue API."
				
					
				
			* commit '27b38599dc4b0b4941906d8da30022f516abf143': Work around a bug in the Jenkins queue API.
This commit is contained in:
		@@ -190,8 +190,10 @@ def build_project(gerrit_info, dry_run, lunch_target=None):
 | 
				
			|||||||
        if lunch_target is not None:
 | 
					        if lunch_target is not None:
 | 
				
			||||||
            params['LUNCH_TARGET'] = lunch_target
 | 
					            params['LUNCH_TARGET'] = lunch_target
 | 
				
			||||||
        if not dry_run:
 | 
					        if not dry_run:
 | 
				
			||||||
            job = jenkins[build].invoke(build_params=params)
 | 
					            _ = jenkins[build].invoke(build_params=params)
 | 
				
			||||||
            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'
 | 
				
			||||||
        print '{}({}): {} => {} {} {}'.format(
 | 
					        print '{}({}): {} => {} {} {}'.format(
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user