Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-14109

Pipepline build fails for `gulp build` step as a part of maven package goal

    XMLWordPrintable

Details

    Description

      I've just re-enabled Pipelines for the project on Bitbucket in hopes that maven build will pass but again it's not passing with the following messages in the log:

      #!java
      
      [INFO] --- frontend-maven-plugin:1.3:gulp (gulp build) @ pplsreport ---
      [INFO] Running 'gulp.js clean build' in /opt/atlassian/pipelines/agent/build
      [INFO] [20:46:14] Using gulpfile ./gulpfile.js
      [INFO] [20:46:14] Starting 'clean'...
      [INFO] [20:46:14] Finished 'clean' after 6.02 ms
      [INFO] [20:46:14] Starting 'build'...
      [INFO] [20:46:14] Starting 'copy'...
      [INFO] [20:46:14] Starting 'inject:vendor'...
      [INFO] [20:46:14] Starting 'ngconstant:prod'...
      [INFO] [20:46:14] Starting 'languages'...
      [INFO] [20:46:14] Finished 'ngconstant:prod' after 134 ms
      [INFO] [20:46:14] gulp-inject 2 files into vendor.scss.
      [INFO] [20:46:14] gulp-notify: [JHipster Gulp Build] Error: EPERM: operation not permitted, chmod '/opt/atlassian/pipelines/agent/build/src/main/webapp/scss/vendor.scss'
      [INFO] [20:46:14] gulp-notify: [Error running notifier] Could not send message: not found: notify-send
      [INFO] [20:46:14] gulp-notify: [JHipster Gulp Build] Error: EPERM: operation not permitted, chmod '/opt/atlassian/pipelines/agent/build/src/main/webapp/i18n/angular-locale_en.js'
      [INFO] [20:46:14] gulp-notify: [Error running notifier] Could not send message: notify-send must be installed on the system.
      [INFO] [20:46:14] Finished 'languages' after 117 ms
      [INFO] [20:46:14] gulp-notify: [JHipster Gulp Build] Error: EPERM: operation not permitted, chmod '/opt/atlassian/pipelines/agent/build/src/main/webapp/i18n/angular-locale_de.js'
      [INFO] [20:46:14] gulp-notify: [Error running notifier] Could not send message: notify-send must be installed on the system.
      [INFO] [20:46:14] gulp-notify: [JHipster Gulp Build] Error: EPERM: operation not permitted, chmod '/opt/atlassian/pipelines/agent/build/src/main/webapp/i18n/angular-locale_pt-pt.js'
      [INFO] [20:46:14] gulp-notify: [Error running notifier] Could not send message: notify-send must be installed on the system.
      [INFO] [20:46:14] gulp-inject 38 files into index.html.
      [INFO] [20:46:14] gulp-notify: [JHipster Gulp Build] Error: EPERM: operation not permitted, chmod '/opt/atlassian/pipelines/agent/build/src/main/webapp/index.html'
      [INFO] [20:46:14] gulp-notify: [Error running notifier] Could not send message: notify-send must be installed on the system.
      [INFO] [20:46:14] Finished 'inject:vendor' after 268 ms
      [INFO] [20:46:15] Finished 'copy' after 485 ms
      [INFO] [20:46:15] Starting 'inject:app'...
      [INFO] [20:46:15] gulp-inject 159 files into index.html.
      [INFO] [20:46:15] 'inject:app' errored after 324 ms
      [INFO] [20:46:15] Error: EPERM: operation not permitted, chmod '/opt/atlassian/pipelines/agent/build/src/main/webapp/index.html'
      [INFO]     at Error (native)
      [INFO] [20:46:15] 'build' errored after 811 ms
      [INFO] [20:46:15] Error in plugin 'run-sequence(inject:app)'
      [INFO] Message:
      [INFO]     inject:app stream
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 02:06 min
      [INFO] Finished at: 2017-04-06T20:46:15+00:00
      [INFO] Final Memory: 53M/795M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.3:gulp (gulp build) on project pplsreport: Failed to run task: 'gulp.js clean build' failed. (error code 1) -> [Help 1]
      [ERROR] 
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR] 
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
      

      It's similar to the issue I reported some time ago but this time it happened during the frontend build phase with gulp:
      link

      Attachments

        Activity

          People

            Unassigned Unassigned
            1d699b747efa Misel Mesnjak
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: