fix(ci): fix typo in main pipeline
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
This commit is contained in:
@@ -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():
|
|||||||
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)
|
||||||
|
|||||||
Reference in New Issue
Block a user