gulp tasks execution in bamboo

梦想与她 提交于 2019-12-11 12:28:34

问题


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)
  • ...


来源:https://stackoverflow.com/questions/30701362/gulp-tasks-execution-in-bamboo

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!