Merge branch 'production-dv-thanato' of https://gitlab.com/sottye/hytha35 into production-dv-thanato
This commit is contained in:
commit
7c4fd6b3eb
9
Jenkinsfile
vendored
9
Jenkinsfile
vendored
@ -9,5 +9,14 @@ pipeline {
|
||||
sudo su jenkins -c "git stash && git pull origin staging" '''
|
||||
}
|
||||
}
|
||||
|
||||
stage ("deploy to prod dv-thanato") {
|
||||
when { branch 'production-dv-thanato' }
|
||||
agent { label 'apache && dev'}
|
||||
steps {
|
||||
input 'Do you approve deployment?'
|
||||
sh ''' ssh -i ${SOTTYE_DVTHANATO_SSHKEY} ${SOTTYE_DVTHANATO_SSHUSER}@${SOTTYE_DVTHANATO_IPSERVER} "cd ${SOTTYE_DVTHANATO_PATH} && git pull origin production-dv-thanato" '''
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user