diff --git a/deploy-this/restart-docker.jenkinsfile b/deploy-this/restart-docker.jenkinsfile new file mode 100755 index 0000000..ea3e378 --- /dev/null +++ b/deploy-this/restart-docker.jenkinsfile @@ -0,0 +1,11 @@ +pipeline { + agent any + + stages{ + stage('restart docker') { + steps { + sh("docker restart \$(docker ps -q)"); + } + } + } +} \ No newline at end of file