1
0

add mirror stage

This commit is contained in:
2026-03-28 19:04:31 +01:00
parent 74c358e897
commit bd803b55db

13
Jenkinsfile vendored
View File

@@ -91,7 +91,7 @@ pipeline {
} }
} }
stage('Mirror to Github') { stage('Mirror to Github - Grizzlycoda') {
steps { steps {
sshagent(['edd05eb6-26b5-4c7b-a5cc-ea2ab899f4fa']) { sshagent(['edd05eb6-26b5-4c7b-a5cc-ea2ab899f4fa']) {
sh ''' sh '''
@@ -101,5 +101,16 @@ pipeline {
} }
} }
} }
stage('Mirror to Github - 12ww1160') {
steps {
sshagent(['key-github-12ww1160-not-grizzly']) {
sh '''
git remote set-url --push master git@github.com:12ww1160/puppet_collection.git
git push master --mirror
'''
}
}
}
} }
} }