jenkins-bot has submitted this change and it was merged.
Change subject: git scm with Zuul over git:// is now a macro
......................................................................
git scm with Zuul over git:// is now a macro
Moved the scm definition from use-remote-zuul default to a new reusable
macro git-remote-zuul.
No jobs impacted.
Change-Id: I08b43b0b499a10ff75b68f31de13a8b807c07065
---
M defaults.yaml
M macro-scm.yaml
2 files changed, 11 insertions(+), 6 deletions(-)
Approvals:
Hashar: Looks good to me, approved
jenkins-bot: Verified
diff --git a/defaults.yaml b/defaults.yaml
index 0e12784..0a09886 100644
--- a/defaults.yaml
+++ b/defaults.yaml
@@ -57,12 +57,7 @@
project-type: freestyle
scm:
- - git:
- url: 'git://integration.wikimedia.org/$ZUUL_PROJECT'
- reference-repo: '/srv/ssd/gerrit/$ZUUL_PROJECT.git'
- branches:
- - '$ZUUL_COMMIT'
- refspec: '$ZUUL_REF'
+ - git-remote-zuul
wrappers:
- timeout:
diff --git a/macro-scm.yaml b/macro-scm.yaml
index 1fb7064..53d5150 100644
--- a/macro-scm.yaml
+++ b/macro-scm.yaml
@@ -42,3 +42,13 @@
scm:
- git-zuul:
disable-submodules: false
+
+- scm:
+ name: git-remote-zuul
+ scm:
+ - git:
+ url: 'git://integration.wikimedia.org/$ZUUL_PROJECT'
+ reference-repo: '/srv/ssd/gerrit/$ZUUL_PROJECT.git'
+ branches:
+ - '$ZUUL_COMMIT'
+ refspec: '$ZUUL_REF'
--
To view, visit https://gerrit.wikimedia.org/r/84917
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I08b43b0b499a10ff75b68f31de13a8b807c07065
Gerrit-PatchSet: 1
Gerrit-Project: integration/jenkins-job-builder-config
Gerrit-Branch: master
Gerrit-Owner: Hashar <[email protected]>
Gerrit-Reviewer: Hashar <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits