jenkins-bot has submitted this change and it was merged.

Change subject: mw-run-update-script allow unset ZUUL_PROJECT
......................................................................


mw-run-update-script allow unset ZUUL_PROJECT

I am working on a Jenkins job triggered on a scheduled, as such it does
not have any Zuul variables set.  Allow mw-run-update-script to proceed
even when $ZUUL_PROJECT is unset.

Change-Id: I450fc2585a5693b65b162d78e86ee86a3eee70e4
---
M bin/mw-run-update-script.sh
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Hashar: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/bin/mw-run-update-script.sh b/bin/mw-run-update-script.sh
index 7ea2eff..e4fcacc 100755
--- a/bin/mw-run-update-script.sh
+++ b/bin/mw-run-update-script.sh
@@ -3,7 +3,7 @@
 . /srv/deployment/integration/slave-scripts/bin/mw-set-env.sh
 
 ARGS="--quick"
-if [ "$ZUUL_PROJECT" = "mediawiki/vendor" ]
+if [ "${ZUUL_PROJECT:-}" = "mediawiki/vendor" ]
 then
        ARGS="$ARGS --skip-external-dependencies"
 fi

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I450fc2585a5693b65b162d78e86ee86a3eee70e4
Gerrit-PatchSet: 1
Gerrit-Project: integration/jenkins
Gerrit-Branch: master
Gerrit-Owner: Hashar <has...@free.fr>
Gerrit-Reviewer: Hashar <has...@free.fr>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to