Krinkle has uploaded a new change for review.

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

Change subject: oojs-ui-jsduck-publish: Run build to support @example demos
......................................................................

oojs-ui-jsduck-publish: Run build to support @example demos

Instead of running plain jsduck, use the npm run-script 'doc' entry
point. This takes care of making a build first and also to copy
the relevant files into the output directory.

Change-Id: Ie1e11a97d2a7a9c0f33e3297db3faa6f96bf4a7b
---
M jjb/macro.yaml
M jjb/misc.yaml
2 files changed, 9 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/integration/config 
refs/changes/57/194957/1

diff --git a/jjb/macro.yaml b/jjb/macro.yaml
index 9084dd0..765665b 100644
--- a/jjb/macro.yaml
+++ b/jjb/macro.yaml
@@ -122,7 +122,7 @@
 # specified in the package.json file (install and test).
 #
 - builder:
-    name: npm
+    name: npm-install
     builders:
     - shell: |
         . /srv/deployment/integration/slave-scripts/bin/npm-set-env.sh
@@ -130,6 +130,12 @@
         npm --version
         rm -rf node_modules
         npm install
+- builder:
+    name: npm
+    builders:
+    - npm-install
+    - shell: |
+        . /srv/deployment/integration/slave-scripts/bin/npm-set-env.sh
         npm test
 
 # Variant that can use a deploy repo for the dependencies.
diff --git a/jjb/misc.yaml b/jjb/misc.yaml
index f608548..27ee7ac 100644
--- a/jjb/misc.yaml
+++ b/jjb/misc.yaml
@@ -32,7 +32,8 @@
     triggers:
      - zuul
     builders:
-     - jsduck
+     - npm-install
+     - shell: npm run-script doc
      - doc-publish:
         docsrc: 'docs'
         docdest: 'oojs-ui/$ZUUL_BRANCH'

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie1e11a97d2a7a9c0f33e3297db3faa6f96bf4a7b
Gerrit-PatchSet: 1
Gerrit-Project: integration/config
Gerrit-Branch: master
Gerrit-Owner: Krinkle <[email protected]>

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

Reply via email to