From 7604687e3b5cbbf70e4051eb92fd352ed7fae005 Mon Sep 17 00:00:00 2001 From: 12ww1160 <12ww1160@confdroid.com> Date: Wed, 22 Jul 2026 13:24:47 +0200 Subject: [PATCH] OP#647 add confdroid_alloy to puppet collection --- Jenkinsfile | 47 ++++++++++++++++++++++------------------------- 1 file changed, 22 insertions(+), 25 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index c4196c3..57776fe 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -66,6 +66,28 @@ pipeline { } } + stage('Mirror to Github - Grizzlycoda') { + steps { + sshagent(['edd05eb6-26b5-4c7b-a5cc-ea2ab899f4fa']) { + sh ''' + git remote set-url --push master git@github.com:grizzlycoda/puppet_collection.git + git push master --mirror + ''' + } + } + } + + stage('Mirror to Github - 12ww1160') { + 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 + ''' + } + } + } + stage('Mirror to Gitea') { steps { sshagent(['edd05eb6-26b5-4c7b-a5cc-ea2ab899f4fa']) { @@ -92,30 +114,5 @@ pipeline { } } } - - stage('Mirror to Github - Grizzlycoda') { - steps { - sshagent(['edd05eb6-26b5-4c7b-a5cc-ea2ab899f4fa']) { - sh ''' - git pull - git remote set-url --push master git@github.com:grizzlycoda/puppet_collection.git - git push master --mirror - ''' - } - } - } - - stage('Mirror to Github - 12ww1160') { - steps { - sshagent(['key-github-12ww160-not-grizzly']) { - sh ''' - git checkout master - git pull origin master - git remote set-url --push master git@github.com:12ww1160/puppet_collection.git - git push master --mirror - ''' - } - } - } } }