【问题标题】:Jenkins - Publish Over CIFS Plugin errorJenkins - 通过 CIFS 插件发布错误
【发布时间】:2014-12-31 15:25:55
【问题描述】:

我正在使用这个 Publish over CIFS 插件并且我连续收到错误,即使复制成功。我想要做的是将构建结果目录的所有内容,所有它的所有资产,复制到删除主机。但是,我收到一条我无法解释的错误消息,并且在线帮助让我失望了。 在转移部分,我只有 1 个块,这是设置

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/' 和子目录下的文件会按我的意愿被复制,但仍然出现错误。关于如何纠正的任何建议?我试过删除'**',它仍然有效,但我仍然收到错误。

【问题讨论】:

    标签: jenkins jenkins-plugins


    【解决方案1】:

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-03-06
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-09-28
      • 1970-01-01
      相关资源
      最近更新 更多