fix build
This commit is contained in:
parent
5569e17141
commit
e39890e68c
|
@ -28,7 +28,13 @@ pipeline {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (status_s != 0) {
|
if (status_s != 0) {
|
||||||
sh 'docker compose build secondary --push'
|
sh 'docker compose build secondary1 --push'
|
||||||
|
} else {
|
||||||
|
echo "Secondary Image version already exists, no need to rebuild."
|
||||||
|
}
|
||||||
|
|
||||||
|
if (status_s != 0) {
|
||||||
|
sh 'docker compose build secondary2 --push'
|
||||||
} else {
|
} else {
|
||||||
echo "Secondary Image version already exists, no need to rebuild."
|
echo "Secondary Image version already exists, no need to rebuild."
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue