简体   繁体   English

詹金斯(Jenkins)Jira-trigger插件“计划在…进行构建”已停止向Jira发表评论

[英]Jenkins Jira-trigger plugin “Build is scheduled for …” stopped writing to Jira comment

Up until about this May, the Jenkins Trigger plugin was writing the "Build is scheduled for" message in Jira comment when the build was scheduled by a Jira webhook. 直到今年5月,当Jira Webhook计划了构建时,Jenkins触发插件仍在Jira注释中写入了“ Build for Schedule”消息。 It stopped working since then. 从那以后它停止工作了。 I can write the comment to the Jira API so it looks like the issue in on the jira-trigger plugin. 我可以将注释写到Jira API,这样看起来就像是jira-trigger插件中的问题。 Anyone else seeing this? 还有其他人看到吗?

I believe I found the solution. 我相信我找到了解决方案。 It looks like we need to login manually to the Jira site as the Jenkins user to clear out dialog boxes that were added when Jira changed licensing models. 看来我们需要以Jenkins用户身份手动登录Jira站点,以清除在Jira更改许可模型时添加的对话框。

I encountered a similar strange problem, the "Build is scheduled for" message and trigger job building work fine yesterday, but not work today. 我遇到了一个类似的奇怪问题, “已预定进行构建”消息,并触发了昨天的工作构建正常,但今天却无法正常工作。 The Jenkins plugin log seem fine "Received Webhook callback from changelog. Event type: jira:issue_updated" . Jenkins插件日志看起来不错“从changelog接收到Webhook回调。事件类型:jira:issue_updated” But no "Build is scheduled for" message in Jira and no related Jenkins build trigger. 但是在Jira中没有“计划进行构建”消息,也没有相关的Jenkins构建触发器。

I check the Jira user in Jenkins config, then log in Jira, I find there is a notification about authentication in Jenkins. 我在Jenkins配置中检查了Jira用户,然后登录Jira,发现在Jenkins中有关于身份验证的通知。 Bad Requestoauth_problem "timestamp_refused" , I will check the time on Jira and Jenkins server. 错误的Requestoauth_problem “ timestamp_refused” ,我将检查Jira和Jenkins服务器上的时间。 Related link: oauth-error-oauth_problem-timestamp_refused 相关链接: oauth-error-oauth_problem-timestamp_refused

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM