diff --git a/deploy-this/restart-docker.jenkinsfile b/deploy-this/restart-docker.jenkinsfile index 8862c73..f3d5c14 100755 --- a/deploy-this/restart-docker.jenkinsfile +++ b/deploy-this/restart-docker.jenkinsfile @@ -4,7 +4,7 @@ pipeline { stages{ stage('restart docker') { steps { - cp jenkins_env.env .env + sh("docker ps -q | grep -v \$(docker ps -qf 'name=jenkins') | xargs docker restart"); } }