gulp tasks execution in bamboo

2019-08-04 18:28发布

问题:

I have added npm task to install all my dependencies in bamboo. This command is working successfully. Now I want add gulp task. I have added nodeJS addon in my bamboo plan. Using this I want to execute the gulp command (e.x : gulp minify). I am not able to find the way how to execute this command. Can someone please help me to resolve this issue.

回答1:

The Bamboo Node.js Support add-on you referenced features a dedicated Gulp task. I think it is shipped alongside newer versions of Atlassian Bamboo at least, maybe you need a newer version?

The Node.js Bamboo Plugin (Bitbucket) page explains how to Configure dependencies and install modules for it to work:

Add the following dependencies (or devDependencies) to the package.json file in your Node.js project. These are required if you want to use the "Grunt 0.4.x", "Gulp", "Bower", "Nodeunit" or "Mocha Test Runner" tasks.

  • ...
  • Gulp
    • gulp (v3.3.2 or newer recommended)
  • ...


标签: gulp bamboo