add mirror stage
This commit is contained in:
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@@ -104,7 +104,7 @@ pipeline {
|
|||||||
|
|
||||||
stage('Mirror to Github - 12ww1160') {
|
stage('Mirror to Github - 12ww1160') {
|
||||||
steps {
|
steps {
|
||||||
sshagent(['jenkins (key-github-12ww160-not-grizzly)']) {
|
sshagent(['key-github-12ww160-not-grizzly']) {
|
||||||
sh '''
|
sh '''
|
||||||
git remote set-url --push master git@github.com:12ww1160/puppet_collection.git
|
git remote set-url --push master git@github.com:12ww1160/puppet_collection.git
|
||||||
git push master --mirror
|
git push master --mirror
|
||||||
|
|||||||
Reference in New Issue
Block a user