#NEWLINE# def _get_jenkins_job( self , step ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# job_name = step . data [ 'job_name' ] #NEWLINE# build_no = self . data [ 'build_no' ] #NEWLINE# #UNINDENT# except KeyError : #NEWLINE# #INDENT# raise UnrecoverableException ( 'Missing Jenkins job information' ) #NEWLINE# #UNINDENT# try : #NEWLINE# #INDENT# return self . _get_json_response ( step . data [ 'master' ] , '/job/{}/{}' . format ( job_name , build_no ) ) #NEWLINE# #UNINDENT# except NotFound : #NEWLINE# #INDENT# raise UnrecoverableException ( 'Unable to find job in Jenkins' )