我正在尝试将现有的Jenkins构建作业移动到单个Jenkins 2管道,并想知道是否可以在构建中将文件从一个节点复制到另一个节点。我的想法是:
Node A (Windows)
Checkout scm
Execute ant build
Archive artifact (or whatever required action)
Node B (Unix)
Checkout scm
Copy build artifact from node A --> is this possible ?
Execute ant build
Then followed by tests...
我试图使用复制工件步骤,但它似乎没有正常工作,所以我想知道是否有一种方法在管道中间复制文件,或者如果我必须保持当前构建建筑(使用 复制神器插件,但完全独立的构建工作)。