问题描述
我愿意根据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
当前是从此Issue
对象.所有的jira-trigger-plugin配置都记录在 Jenkins帮助按钮,可在Jenkins作业配置中查看.
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的参数映射中使用“问题属性路径"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!