Restart docker by jenkins.

This commit is contained in:
Artur 2024-10-26 12:46:08 +02:00
parent 0ad22139f1
commit 02039f29b2
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
pipeline {
agent any
stages{
stage('restart docker') {
steps {
sh("docker restart \$(docker ps -q)");
}
}
}
}