Hashar has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/107718


Change subject: mwcore-docgen: GERRIT_BRANCH > ZUUL_BRANCH
......................................................................

mwcore-docgen: GERRIT_BRANCH > ZUUL_BRANCH

Since Zuul got upgraded, the jobs no more receive GERRIT_* parameters,
they have been phased out in favor of ZUUL_* parameters.

That broke the doxygen generation :/

Change-Id: I9dd2161c86f6aa9800649c52b3540d34bd311aea
---
M tools/mwcore-docgen.sh
1 file changed, 3 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/integration/jenkins 
refs/changes/18/107718/1

diff --git a/tools/mwcore-docgen.sh b/tools/mwcore-docgen.sh
index fcf7987..851d276 100755
--- a/tools/mwcore-docgen.sh
+++ b/tools/mwcore-docgen.sh
@@ -23,17 +23,17 @@
 
 # Example values:
 # - ZUUL_REF: refs/zuul/master/Z74178670e7c5495199f8a92e92cf609c
-# - GERRIT_BRANCH: master
+# - ZUUL_BRANCH: master
 if [[ "$ZUUL_REF" =~ ^refs/tags/(.*) ]]; then
        TARGET_VERSIONDIR="${BASH_REMATCH[1]}"
-elif [[ "$GERRIT_BRANCH" =~ ^(master|REL[0-9]+_[0-9]+)$ ]]; then
+elif [[ "$ZUUL_BRANCH" =~ ^(master|REL[0-9]+_[0-9]+)$ ]]; then
        TARGET_VERSIONDIR="${BASH_REMATCH[1]}"
 fi
 
 if [ -z "$TARGET_VERSIONDIR" ]; then
        echo "Error: Change target reference is not a tag or a recognized 
branch."
        echo "\$ZUUL_REF: $ZUUL_REF"
-       echo "\$GERRIT_BRANCH: $GERRIT_BRANCH"
+       echo "\$ZUUL_BRANCH: $ZUUL_BRANCH"
        exit 1
 fi
 

-- 
To view, visit https://gerrit.wikimedia.org/r/107718
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9dd2161c86f6aa9800649c52b3540d34bd311aea
Gerrit-PatchSet: 1
Gerrit-Project: integration/jenkins
Gerrit-Branch: master
Gerrit-Owner: Hashar <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to