Skip to content

Commit

Permalink
Update Jenkinsfile
Browse files Browse the repository at this point in the history
  • Loading branch information
chubing authored Jan 4, 2018
1 parent 91fa18d commit 3c7a053
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,11 @@ def cleanup(String tag) {
try{
sh 'bin/decompose.sh &> debug'
sh 'bin/prune.sh &> debug'
sh 'sudo rm -rf logs'
sh 'rm -rf logs'
} catch(error) {
def error_details = readFile('./debug');
def message = "BUILD ERROR: There was a problem cleaning up Shibboleth appliance :${tag}. \n\n ${error_details}"
def message = "BUILD ERROR: There was a problem cleaning up Grouper appliance :${tag}. \n\n ${error_details}"
sh "rm -f ./debug"
handleError(message, tag, false)
}
}
}

0 comments on commit 3c7a053

Please sign in to comment.