See "Live Preview" on https://doc.wikimedia.org/VisualEditor/master/#!/api/ve.init.sa.Target
Description
Details
Event Timeline
Change 215003 had a related patch set uploaded (by Esanders):
build: Bring over eg-iframe fixes from core
Subsequent publish build successfully synced the new eg-iframe.html file, but it failed in grunt copy:jsduck. As such, all the .js files are missing for the demo (764 404 errors when trying to preview ve.init.sa.Target).
https://integration.wikimedia.org/ci/job/mwext-VisualEditor-publish/1822/console
+ node --version v0.10.25 + npm --version 2.15.2 ... > visualeditor@0.0.0 postdoc /srv/jenkins-workspace/workspace/mwext-VisualEditor-publish > grunt copy:jsduck /srv/jenkins-workspace/workspace/mwext-VisualEditor-publish/node_modules/grunt-eslint/tasks/eslint.js:2 const chalk = require('chalk'); ^^^^^ Loading "eslint.js" tasks...ERROR >> SyntaxError: Use of const in strict mode.
Looks like the mwext-VisualEditor-publish job need to be migrated to run on nodepool-jessie instead of ci-slave-trusty. That way it matches the gate pipeline job ("npm-node-4-jessie") which also runs on nodepool-jessie.
The underlying problem is that VisualEditor's build script no longer supports node 0.10.
Change 322367 had a related patch set uploaded (by Krinkle):
Move mwext-VisualEditor-publish from slave-trusty to nodepool-jessie
Change 322367 merged by jenkins-bot:
Move mwext-VisualEditor-publish from slave-trusty to nodepool-jessie