Jenkins - 发布CIFS插件错误

时间:2014-11-04 16:30:59

标签: jenkins jenkins-plugins

我使用此发布而不是CIFS插件,即使复制成功,我仍然会出错。我尝试做的是将构建结果目录的所有内容(包括其所有资产)复制到删除主机。但是我收到一条错误消息,我无法解释,并且在线帮助失败了。 在转移部分我只有一个块,这是设置

Source files:  build/123.456/**
Remove prefix: build/
Remote directory: builds/this_release/Latest/

以下是我收到的错误消息。

CIFS: Connecting from host [my-host]
CIFS: Connecting with configuration [to-host] ...
CIFS: Disconnecting configuration [to-host] ...
ERROR: Exception when publishing, exception message [A Transfer Set must contain Source files - if you really want to include everything, set Source files to **/ or **\]
Build step 'Send build artifacts to a windows share' changed build result to UNSTABLE

我不明白的是,' build / 123.456 /'和子目录下的文件会按照我的意愿复制,但我仍然会收到错误消息。关于如何纠正的任何建议?我试过删除' **'它仍然有效,但我仍然得到一个错误。

1 个答案:

答案 0 :(得分:1)

其实我找到了错误的原因。 我的工作中定义了第二个(空的)传输集,没有填写任何字段 此Set是错误消息的原因。