如何在jenkins-trigger-plugin的参数映射中使用“问题属性路径" [英] How to use the 'Issue attribute path' in the parameter mapping of jenkins-trigger-plugin

查看:402
本文介绍了如何在jenkins-trigger-plugin的参数映射中使用“问题属性路径"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我愿意根据JIRA问题的状态变化事件来触发我的Jenkins工作.我可以使用jenkins-trigger-plugin来做到这一点.但是,我希望获得有关该问题的更多信息,例如问题的描述等.我可以看到一个名为'JIRA_ISSUE_KEY'的环境变量,但是它给了我密钥而没有其他任何内容.

I am willing to trigger my Jenkins job based on status change event from a JIRA issue. I am able to do it using jenkins-trigger-plugin. However I wish to get some more information about the issue like the description of the issue etc. I could see an environment variable named 'JIRA_ISSUE_KEY' but it gives me the key and nothing else.

推荐答案

从当前版本开始,issue attribute path当前是从

As of the current release, the issue attribute path is currently resolved from this Issue object. All of jira-trigger-plugin configuration is documented in Jenkins help buttons, which is viewable in Jenkins job configuration.

description.

这篇关于如何在jenkins-trigger-plugin的参数映射中使用“问题属性路径"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆