[JIRA] (JENKINS-59730) text-finder sets whole matrix job to "not built" even if only one configuration matched

8 views
Skip to first unread message

cb@df7cb.de (JIRA)

unread,
Oct 10, 2019, 9:06:03 AM10/10/19
to jenkinsc...@googlegroups.com
Christoph Berg created an issue
 
Jenkins / Bug JENKINS-59730
text-finder sets whole matrix job to "not built" even if only one configuration matched
Issue Type: Bug Bug
Assignee: Basil Crow
Attachments: not-built.png
Components: text-finder-plugin
Created: 2019-10-10 13:05
Priority: Major Major
Reporter: Christoph Berg

When using the Text Finder Plugin with matrix jobs, if one configuration was set to "not built" from this plugin, the whole build will be marked as "not built", even if there were other configurations that passed successfully.

My expectation would be that matrix jobs should be blue/green if there's any configurations that passed, and only be "not built" themselves if all configurations had that result.

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

me@basilcrow.com (JIRA)

unread,
Oct 10, 2019, 11:53:02 AM10/10/19
to jenkinsc...@googlegroups.com
Basil Crow commented on Bug JENKINS-59730
 
Re: text-finder sets whole matrix job to "not built" even if only one configuration matched

Thanks for reporting this, Christoph Berg. Would you be willing to write a unit test that reproduces the issue, marked with @Ignore and @Issue("JENKINS-59730")? The existing tests should serve as a good example to follow, modulo using using MatrixProject instead of FreestyleProject via something like MatrixProject createMatrixProject = jenkins.createProject(MatrixProject.class, "mp"). This would greatly facilitate getting the issue fixed.

cb@df7cb.de (JIRA)

unread,
Oct 13, 2019, 2:35:02 PM10/13/19
to jenkinsc...@googlegroups.com

I have little Java experience so I can't tell how much harder than copy-pasting some similar case would be. I might give it a try, but I'll be at PGconf.EU next week, so it might take a while before I get to it, if at all.

me@basilcrow.com (JIRA)

unread,
Feb 26, 2020, 2:09:02 PM2/26/20
to jenkinsc...@googlegroups.com
Basil Crow assigned an issue to Unassigned
 
Change By: Basil Crow
Assignee: Basil Crow
This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages