From 549440dbc3d3b85ae8c8b7b976860b2bbcfb6e95 Mon Sep 17 00:00:00 2001 From: Kameron Kenny <1267885+kkenny@users.noreply.github.com> Date: Wed, 5 Jun 2024 13:27:18 -0400 Subject: [PATCH] no stop --- Jenkinsfile | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index ee7990a..3572a9e 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -20,21 +20,6 @@ pipeline { } } - stage('Stop container') { - steps { - script { - def status_s = sh(returnStatus: true, script: 'grep $(docker --context pi502 compose ps | tail -n1 | awk \'{ print $2 }\') docker-compose.yml') - - if (status_s != 0) { - sh 'docker --context pi502 compose down' - sh 'sleep 5' - } else { - echo 'skip' - } - } - } - } - stage('Start container') { steps { script {