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

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, 11 insertions(+), 1 deletion(-)

Approvals:
  Krinkle: Looks good to me, approved
  Jforrester: Looks good to me, but someone else must approve
  jenkins-bot: Verified



diff --git a/jjb/macro.yaml b/jjb/macro.yaml
index 9084dd0..382e61c 100644
--- a/jjb/macro.yaml
+++ b/jjb/macro.yaml
@@ -122,6 +122,15 @@
 # specified in the package.json file (install and test).
 #
 - builder:
+    name: npm-install
+    builders:
+    - shell: |
+        . /srv/deployment/integration/slave-scripts/bin/npm-set-env.sh
+        node --version
+        npm --version
+        rm -rf node_modules
+        npm install
+- builder:
     name: npm
     builders:
     - shell: |
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: merged
Gerrit-Change-Id: Ie1e11a97d2a7a9c0f33e3297db3faa6f96bf4a7b
Gerrit-PatchSet: 4
Gerrit-Project: integration/config
Gerrit-Branch: master
Gerrit-Owner: Krinkle <[email protected]>
Gerrit-Reviewer: Catrope <[email protected]>
Gerrit-Reviewer: Hashar <[email protected]>
Gerrit-Reviewer: Jforrester <[email protected]>
Gerrit-Reviewer: Krinkle <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to