Permalink
Browse files
Better haproxy label
- Loading branch information
Showing
with
4 additions
and
3 deletions.
-
+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) |
|
|
} |
|
|
|
|
|
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.