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 {