Skip to content

Commit

Permalink
Stopping composition in term
Browse files Browse the repository at this point in the history
  • Loading branch information
Jim Van Fleet committed Sep 14, 2016
1 parent 57d415d commit 4b43c3a
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ node('docker') {
sh 'bin/recompose.sh &> debug'
} catch(error) {
def error_details = readFile('./debug');
def message = "BUILD ERROR: There was a problem composing Shibboleth appliance (${tag}). \n\n ${error_details}"
def message = "BUILD ERROR: There was a problem composing Grouper appliance (${tag}). \n\n ${error_details}"
sh "rm -f ./debug"
handleError(message, tag)
}
Expand All @@ -67,6 +67,16 @@ node('docker') {
handleError(message, tag)
}

stage 'Decompose'
try{
sh 'bin/decompose.sh &> debug'
} catch(error) {
def error_details = readFile('./debug');
def message = "BUILD ERROR: There was a problem decomposing Grouper appliance (${tag}). \n\n ${error_details}"
sh "rm -f ./debug"
handleError(message, tag)
}

stage 'Clean Up'

cleanup(tag)
Expand Down

0 comments on commit 4b43c3a

Please sign in to comment.