diff --git a/Jenkinsfile b/Jenkinsfile index a9f4c27..d9152ed 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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) } @@ -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)