[JIRA] (JENKINS-60883) Resolve build and environment variables in "Test Name" field

9 views
Skip to first unread message

zsw007@gmail.com (JIRA)

unread,
Jan 27, 2020, 1:58:02 PM1/27/20
to jenkinsc...@googlegroups.com
Wayne Zhang created an issue
 
Jenkins / Improvement JENKINS-60883
Resolve build and environment variables in "Test Name" field
Issue Type: Improvement Improvement
Assignee: Matt Murphy
Components: ibm-asoc-plugin
Created: 2020-01-27 18:57
Priority: Minor Minor
Reporter: Wayne Zhang

The "Test Name" field currently does not resolve build variables or environment variables. Since this field is used to differentiate scan results, it would be useful to resolve these variables so that the name can be determined programatically. This would make it possible to set the scan result name based on the build/version/other factors without needing to modify the configuration.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

zsw007@gmail.com (JIRA)

unread,
Jan 27, 2020, 2:01:03 PM1/27/20
to jenkinsc...@googlegroups.com
Wayne Zhang started work on Improvement JENKINS-60883
 
Change By: Wayne Zhang
Status: Open In Progress

zsw007@gmail.com (JIRA)

unread,
Jan 27, 2020, 2:02:03 PM1/27/20
to jenkinsc...@googlegroups.com

matthew.murphy@hcl.com (JIRA)

unread,
Jan 28, 2020, 7:52:02 PM1/28/20
to jenkinsc...@googlegroups.com

I think this is a good idea that could be applied to many fields, not just the Test Name.  Ideally the existing BuildVariableResolver class could be cleaned up and combined with the EnvironmentVariableResolver, so there's only 1 VariableResolver that's used for all fields.

 

zsw007@gmail.com (JIRA)

unread,
Feb 6, 2020, 5:22:03 PM2/6/20
to jenkinsc...@googlegroups.com

Makes sense to me. I'll modify my patch later to address that.

Reply all
Reply to author
Forward
0 new messages