update Jenkinsfile

This commit is contained in:
12WW1160
2020-12-01 18:03:55 +01:00
parent dfe84de0d3
commit 27589a055a

6
Jenkinsfile vendored
View File

@@ -20,12 +20,12 @@ pipeline {
stages {
stage('pulling production') {
stage('pulling master') {
steps {
sshagent(['edd05eb6-26b5-4c7b-a5cc-ea2ab899f4fa']) {
sh '''git config user.name "Jenkins Server"
git config user.email jenkins@confdroid.com
git pull origin production
git pull origin master
git checkout -b jenkins '''
}
}
@@ -91,7 +91,7 @@ pipeline {
sh '''git config user.name "Jenkins Server"
git config user.email jenkins@confdroid.com
echo `git add -A && git commit -am "recommit for updates in build $BUILD_NUMBER"`
git push origin HEAD:production'''
git push origin HEAD:master'''
}
}
}