1

我已将 Jenkins 配置为将构建信息发布到 DevOps Insights。我能够在 DevOps Insights 中验证构建频率。但我无法看到错误日志。

您能否告诉我,如果以下配置会将错误消息发布到 DevOps Insights。还是我需要在 Jenkins 中进行任何其他配置?

错误

ERROR: Error fetching remote repo 'origin'
[IBM Cloud DevOps] version: 1.1.18
[IBM Cloud DevOps] Log in successfully, get the Bluemix token
[IBM Cloud DevOps] Error: Failed to upload, response status HTTP/1.1 400 Bad Request
[IBM Cloud DevOps] Reason: "Missing one of fields: repository_url,branch,commit_id."
[IBM Cloud DevOps] Not building Deployable Message.
Finished: FAILURE

配置

点击这里

4

1 回答 1

1

当你用freestyle job来发布构建记录时,你需要在SCM中配置Git源,这样插件才能找出repository_url、branch和commit id

于 2018-04-19T16:06:33.247 回答