在竹子中执行吞吐任务 [英] gulp tasks execution in bamboo

查看:145
本文介绍了在竹子中执行吞吐任务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我添加了npm任务,将所有依赖关系安装到竹子中。该命令正在成功运行。现在我想添加吞咽任务。我在我的竹子计划中添加了nodeJS插件。使用这个我想执行gulp命令(e.x:gulp minify)。我无法找到如何执行此命令的方式。有人可以帮我解决这个问题。 Bamboo Node.js支持附加组件引用了一个专用的 Gulp 任务。我认为它至少与新版 Atlassian Bamboo 一起发布,或许您需要更新的版本?



Node.js Bamboo Plugin (Bitbucket)页面解释了如何配置依赖关系和安装模块以使其正常工作:


将以下依赖项(或devDependencies)添加到Node.js项目中的
package.json 文件中。如果您
想要使用Grunt 0.4.x,Gulp,Bower,Nodeunit或Mocha
Test Runner任务,则需要这些。




  • ...

  • 吞噬


    • gulp (v3.3.2或更新版本推荐)


  • ...



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.

解决方案

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

这篇关于在竹子中执行吞吐任务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆