diff --git a/Jenkinsfile b/Jenkinsfile index fcd5af0..cdf368c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -95,10 +95,10 @@ pipeline { stage('Mirror to Github - Grizzlycoda') { steps { - sshagent(['key-github-grizzlycoda']) { + sshagent(['edd05eb6-26b5-4c7b-a5cc-ea2ab899f4fa']) { sh ''' - git remote set-url --push master git@github.com:grizzlycoda/puppet_collection.git - git push master --mirror + git remote add github-grizzly git@github.com:grizzlycoda/puppet_collection.git + git push github-grizzly --mirror ''' } } @@ -108,8 +108,8 @@ pipeline { steps { sshagent(['key-github-12ww160-not-grizzly']) { sh ''' - git remote set-url --push master git@github.com:12ww1160/puppet_collection.git - git push master --mirror + git remote add github-12ww git@github.com:12ww1160/puppet_collection.git + git push github-12ww --mirror ''' } }