add mirror stage
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -2,4 +2,4 @@
|
|||||||
Gemfile.lock
|
Gemfile.lock
|
||||||
FileList
|
FileList
|
||||||
.scannerwork
|
.scannerwork
|
||||||
.vscode/
|
.vscode
|
||||||
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@@ -104,7 +104,7 @@ pipeline {
|
|||||||
|
|
||||||
stage('Mirror to Github - 12ww1160') {
|
stage('Mirror to Github - 12ww1160') {
|
||||||
steps {
|
steps {
|
||||||
sshagent(['key-github-12ww1160-not-grizzly']) {
|
sshagent(['jenkins (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