Skip to content
Permalink
Browse files

Better haproxy label

  • Loading branch information
Jim Van Fleet
Jim Van Fleet committed Sep 12, 2016
1 parent 2c31ad7 commit c670a8b9f20543530e980e448df6ff22b6b52165
Showing with 4 additions and 3 deletions.
  1. +4 −3 Jenkinsfile
@@ -48,12 +48,13 @@ node('docker') {

try{
dir('haproxy'){
sh 'docker build --rm my/haproxy .'
sh 'docker build --rm -t my/haproxy . %> debug'
sh 'rm debug'
}
} catch(error) {
def error_details = readFile('./debug');
def error_details = readFile('haproxy/debug');
def message = "BUILD ERROR: There was a problem building Shibboleth appliance haproxy image (${tag}). \n\n ${error_details}"
sh "rm -f ./debug"
sh "rm -f haproxy/debug"
handleError(message, tag)
}

0 comments on commit c670a8b

Please sign in to comment.
You can’t perform that action at this time.