add restart script
This commit is contained in:
parent
bb32d1145b
commit
e370dafad1
19
environments/infra/Jenkinsfile
vendored
19
environments/infra/Jenkinsfile
vendored
@ -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
|
||||||
|
'''
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user