update Jenkinsfile
This commit is contained in:
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@@ -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'''
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user