Skip to content
Snippets Groups Projects
Commit c98777a2 authored by Raphael Defosseux's avatar Raphael Defosseux
Browse files

chore(ci): previous syntax did not work

parent 7b4a7589
No related branches found
No related tags found
No related merge requests found
......@@ -69,7 +69,6 @@ boolean testStart0 = true
boolean testStart1 = true
boolean testStop0 = true
boolean testStop1 = true
boolean pulledImage = false
//-------------------------------------------------------------------------------
// Pipeline start
......@@ -269,7 +268,7 @@ pipeline {
testStart1 = false
testStop0 = false
testStop1 = false
if (pulledImage) {
if (ranFullImage.contains('porcepix')) {
sh "docker rmi ${ranFullImage} || true"
}
}
......@@ -345,7 +344,7 @@ pipeline {
sh "docker-compose down -t 3 || true"
}
deployedGNB = false
if (pulledImage) {
if (ranFullImage.contains('porcepix')) {
sh "docker rmi ${ranFullImage} || true"
}
}
......@@ -606,7 +605,6 @@ def checkAndPullRanImage (ranFullImage) {
if (ranFullImage.contains('porcepix')) {
sh 'docker logout porcepix.sboai.cs.eurecom.fr'
}
pulledImage = true
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment