【问题标题】:Jenkins Parameterized Remote Trigger Plugin Returning the Status of the Wrong BuildJenkins 参数化远程触发插件返回错误构建的状态
【发布时间】:2016-05-02 23:23:43
【问题描述】:

我在 Jenkins 中使用 Parameterized Remote Trigger Plugin 来启动一项远程工作,但它会返回一个构建状态,而不是它启动的那个状态。在远程构建完成之前,我将触发步骤阻塞,因此它也会导致它过早返回,因为在某些情况下它会返回已经完成的构建状态。

自从看到此错误后,我选择了触发步骤的选项,以等待直到没有运行构建。这应该可以防止触发步骤返回已在运行的构建的状态,这是问题的一部分,但在没有运行构建时也会发生这种情况。

以下控制台输出来自远程作业当前未运行的构建:

Triggering this remote job: <job name>
Not checking if the remote job <job name> is building.
Triggering remote job now.
Remote Jenkins server returned empty response or invalid JSON - but we can still proceed with the remote build.
Checking parameters of #55
Remote Jenkins server returned empty response or invalid JSON - but we can still proceed with the remote build.
Query failed.
Checking parameters of #54
Param <param> doesn't match!
Checking parameters of #56
Remote Jenkins server returned empty response or invalid JSON - but we can still proceed with the remote build.
Query failed.
Checking parameters of #53
This job is build #[53] on the remote server.
Blocking local job until remote job completes
Remote build started!
Remote build finished with status SUCCESS.

所以我的问题本质上是如何防止这种情况发生?我没有在网上找到任何类似这个问题的东西,所以任何见解都将不胜感激。

【问题讨论】:

    标签: jenkins jenkins-plugins


    【解决方案1】:

    【讨论】:

      猜你喜欢
      • 2014-09-04
      • 1970-01-01
      • 2015-04-03
      • 1970-01-01
      • 1970-01-01
      • 2013-12-20
      • 2022-12-06
      • 1970-01-01
      • 2014-06-07
      相关资源
      最近更新 更多