idea for restart with environment
This commit is contained in:
Artur Kuś 2025-05-29 22:31:48 +02:00
parent ca26367371
commit 6a408020c4
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ pipeline {
stages{ stages{
stage('restart docker') { stage('restart docker') {
steps { steps {
cp jenkins_env.env .env
sh("docker ps -q | grep -v \$(docker ps -qf 'name=jenkins') | xargs docker restart"); sh("docker ps -q | grep -v \$(docker ps -qf 'name=jenkins') | xargs docker restart");
} }
} }