Hashar has uploaded a new change for review.
https://gerrit.wikimedia.org/r/189473
Change subject: (WIP) Hack for npm oid jobs (WIP)
......................................................................
(WIP) Hack for npm oid jobs (WIP)
parsoid/deploy requires to cd /src/
cxserver/deploy requires to stick in /
To be fixed.
Change-Id: I5d2594377026a7c70cafd8d601cb820bf157f84f
---
M jjb/macro.yaml
1 file changed, 6 insertions(+), 2 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/integration/config
refs/changes/73/189473/1
diff --git a/jjb/macro.yaml b/jjb/macro.yaml
index 972a562..6f0324a 100644
--- a/jjb/macro.yaml
+++ b/jjb/macro.yaml
@@ -251,8 +251,12 @@
npm install
;;
"deploy")
- NPM_SET_PATH="./src"
- # All modules should already be in the deploy repo, no npm install
+ if [ "$ZUUL_PROJECT" == "mediawiki/services/parsoid/deploy" ]; then
+ NPM_SET_PATH="./src"
+ # All modules should already be in the deploy repo, no npm
install
+ else
+ NPM_SET_PATH="$WORKSPACE"
+ fi
;;
*)
echo "JJB {{repository}} parameter '{repository}' is not
recognized."
--
To view, visit https://gerrit.wikimedia.org/r/189473
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I5d2594377026a7c70cafd8d601cb820bf157f84f
Gerrit-PatchSet: 1
Gerrit-Project: integration/config
Gerrit-Branch: master
Gerrit-Owner: Hashar <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits