"Failed to run task: 'gulp bundle test --no-color'" while building

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      I am unable to build Jenkins 2.0 because of the gulp error:

      [INFO] --- frontend-maven-plugin:0.0.23:gulp (gulp test) @ jenkins-war ---
      [INFO] Running 'gulp bundle test --no-color' in /home/ogondza/code/jenkins/jenkins/war
      [INFO] [15:54:27] Maven project
      [INFO] [15:54:27]  - src: src/main/js,src/main/less
      [INFO] [15:54:27]  - test: src/test/js
      [INFO] [15:54:27] Setting defaults
      [INFO] [15:54:27] Bundle will be generated in directory 'src/main/webapp/jsbundles' as 'pluginSetupWizard.js'.
      [INFO] [15:54:27] Using gulpfile ~/code/jenkins/jenkins/war/gulpfile.js
      [INFO] [15:54:27] Starting 'bundle_pluginSetupWizard'...
      [INFO] [15:54:27] LESS CSS pre-processing completed.
      [INFO] [15:54:27] Finished 'bundle_pluginSetupWizard' after 895 ms
      [INFO] [15:54:27] Starting 'bundle'...
      [INFO] [15:54:27] Finished 'bundle' after 22 μs
      [INFO] [15:54:27] Starting 'test'...
      [INFO] [15:54:27] Test specs: src/test/js/**/*-spec.js
      [INFO] [15:54:27] Testing web server started on port 18999 (http://localhost:18999). Content root: /home/ogondza/code/jenkins/jenkins/war
      [INFO] [15:54:27] Test execution completed.
      [INFO] [15:54:27] Finished 'test' after 21 ms
      [ERROR] 
      [ERROR] events.js:141
      [ERROR]       throw er; // Unhandled 'error' event
      [ERROR]       ^
      [ERROR] Error: Cannot find module './properties'
      [ERROR]     at Function.Module._resolveFilename (module.js:336:15)
      [ERROR]     at Function.Module._load (module.js:286:25)
      [ERROR]     at Module.require (module.js:365:17)
      [ERROR]     at require (module.js:384:17)
      [ERROR]     at Object.<anonymous> (/home/ogondza/code/jenkins/jenkins/war/node_modules/jenkins-js-test/node_modules/jsdom/node_modules/cssstyle/lib/CSSStyleDeclaration.js:230:1)
      [ERROR]     at Module._compile (module.js:434:26)
      [ERROR]     at Object.Module._extensions..js (module.js:452:10)
      [ERROR]     at Module.load (module.js:355:32)
      [ERROR]     at Function.Module._load (module.js:310:12)
      [ERROR]     at Module.require (module.js:365:17)
      

            Assignee:
            Tom FENNELLY
            Reporter:
            Oliver Gondža
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: