Skip to content

Commit

Permalink
Further backporting Jenkinsfile advancement of handleError
Browse files Browse the repository at this point in the history
  • Loading branch information
Jim Van Fleet committed Sep 14, 2016
1 parent b1ae75b commit 96950ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ node('docker') {
def error_details = readFile('./debug');
def message = "BUILD ERROR: There was a problem building ${imagename}:${tag}. \n\n ${error_details}"
sh "rm -f ./debug"
handleError(message)
handleError(message, tag)
}

stage 'Compose'
Expand All @@ -64,7 +64,7 @@ node('docker') {
def error_details = readFile('./debug');
def message = "BUILD ERROR: There was a problem building ${imagename}:${tag}. \n\n ${error_details}"
sh "rm -f ./debug"
handleError(message)
handleError(message, tag)
}

stage 'Clean Up'
Expand Down

0 comments on commit 96950ce

Please sign in to comment.