What is happening to my files when they're moved in a bamboo stage?

时间:2017-06-19 14:01:42

标签: bamboo

Total bamboo noob here: I have a gulp command in my client directory that takes the built application files relevant to serving up the client and copies those files into the appropriate resource directories for each platform's server that I'm building.

This works serially when I run it from command-line but I'm trying to understand how this fits in with Bamboo's stages.

Right now my stages look like this

enter image description here

Where my client has the following tasks:

enter image description here

Most of this is just invoking separate gulp commands and examining the output. But my issue is that the gulp command that moves the client files to the server asset folders is not persisted between the stages.

Once my bamboo server reaches the server stage, the folder no longer exists?

1 个答案:

答案 0 :(得分:0)

我之前在原帖上的评论几乎就是我需要做的。 Bamboo只支持ant文件复制模式,它没有我们可以在glob模式中使用的排除(因为它不是正则表达式)所以我不得不稍微更改我的构建以包含多个文件夹,一个用于平台不可知客户端文件和特定平台客户端文件的另一个文件,但这允许我设置一些工件依赖项,以便它们在共享后可以包含在我的其他阶段中。

enter image description here