Permalink
Showing
with
2 additions
and
1 deletion.
-
+2
−1
Jenkinsfile
|
@@ -50,7 +50,6 @@ node('docker') { |
|
|
dir('haproxy'){ |
|
|
sh 'docker build --rm -t my/haproxy . > debug' |
|
|
sh 'rm debug' |
|
|
sh 'docker rm haproxy' |
|
|
} |
|
|
} catch(error) { |
|
|
def error_details = readFile('haproxy/debug'); |
|
@@ -124,6 +123,8 @@ def handleError(String message, String tag, Boolean doCleanup = true){ |
|
|
def cleanup(String tag) { |
|
|
try{ |
|
|
sh 'bin/decompose.sh &> debug' |
|
|
sh 'docker rm haproxy' |
|
|
sh 'docker rmi my/haproxy' |
|
|
sh 'bin/prune.sh &> debug' |
|
|
} catch(error) { |
|
|
def error_details = readFile('./debug'); |
|
|
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.