add restart script

This commit is contained in:
Schneider Roland 2025-05-31 11:50:42 +02:00
parent bb32d1145b
commit e370dafad1

View File

@ -0,0 +1,19 @@
pipeline {
agent any
stages {
stage('Checkout') {
steps {
git branch: 'main', credentialsId: 'rschneider_gitea.rschneider.hu', url: 'https://gitea.rschneider.hu/rschneider/infra.git'
}
}
stage('Restart') {
steps {
sh returnStdout: true, script: '''
cd environments/infra
bash restart.sh
'''
}
}
}
}