Commit 66c85dd5 authored by Raphael Defosseux's avatar Raphael Defosseux

fix(ci): fix typo in main pipeline

Signed-off-by: default avatarRaphael Defosseux <raphael.defosseux@eurecom.fr>
parent 455434f5
...@@ -246,17 +246,12 @@ pipeline { ...@@ -246,17 +246,12 @@ pipeline {
script { script {
triggerSlaveJob ('RAN-DockerHub-Push', 'Push-to-Docker-Hub') triggerSlaveJob ('RAN-DockerHub-Push', 'Push-to-Docker-Hub')
} }
post { }
always { post {
script { failure {
echo "Push to Docker-Hub OK" script {
} echo "Push to Docker-Hub KO"
} currentBuild.result = 'FAILURE'
failure {
script {
echo "Push to Docker-Hub KO"
currentBuild.result = 'FAILURE'
}
} }
} }
} }
......
...@@ -227,6 +227,8 @@ class Containerize(): ...@@ -227,6 +227,8 @@ class Containerize():
if result is not None: if result is not None:
forceSharedImageBuild = True forceSharedImageBuild = True
sharedTag = 'ci-temp' sharedTag = 'ci-temp'
else:
forceSharedImageBuild = True
# Let's remove any previous run artifacts if still there # Let's remove any previous run artifacts if still there
mySSH.command(self.cli + ' image prune --force', '\$', 30) mySSH.command(self.cli + ' image prune --force', '\$', 30)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment