[JIRA] (JENKINS-53691) "Execute script on Matrix" not working after upgraing from 0.18.1 to 1.0.0+

3 views
Skip to first unread message

totoroliu1215@hotmail.com (JIRA)

unread,
Sep 20, 2018, 6:00:02 PM9/20/18
to jenkinsc...@googlegroups.com
Rick Liu created an issue
 
Jenkins / Bug JENKINS-53691
"Execute script on Matrix" not working after upgraing from 0.18.1 to 1.0.0+
Issue Type: Bug Bug
Assignee: Daniel Heid
Attachments: Selection_022.png, Selection_023.png, Selection_024.png
Components: postbuildscript-plugin
Created: 2018-09-20 21:59
Environment: Ubuntu 16.04.5 LTS
OpenJDK 1.8.0_181
Jenkins core. v121.3
Postbuildscript plugin v1.0.0
Priority: Blocker Blocker
Reporter: Rick Liu

I have about 100+ matrix jobs using "Execute Scripts" with "Execute script on Matrix".
After upgrding the Post-Build-Script plugin from 0.18.1 to 1.0.0 or newer,
the "Execute script on Matrix" is missing and not working (the step will be executed on both Matrix and axis).

I saw there are a new Post-Build step named "Execute Scripts on Matrix" with option to select "Execute script on Matrix".

The upgrade should correctly migrate the previous old configuration with "Execute script on Matrix" to the new job step "Execute Scripts on Matrix".

or at least provide a transition period that both regular "Execute Scripts" and "Execute Scripts on Matrix" steps could support the options to select "Execute script on Matrix/Axis/both".

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

dheid@posteo.de (JIRA)

unread,
Sep 21, 2018, 6:18:03 AM9/21/18
to jenkinsc...@googlegroups.com
Daniel Heid commented on Bug JENKINS-53691
 
Re: "Execute script on Matrix" not working after upgraing from 0.18.1 to 1.0.0+

Thanks for submitting this issue. You are absolutely right. Since I needed to split the plugin into to seperate components the migration is more complex than usual. I will see, what I can do.

dheid@posteo.de (JIRA)

unread,
Sep 21, 2018, 6:32:01 AM9/21/18
to jenkinsc...@googlegroups.com

It would be very helpful, if you could please post a config.xml of your Matrix project here.

dheid@posteo.de (JIRA)

unread,
Sep 21, 2018, 9:01:02 AM9/21/18
to jenkinsc...@googlegroups.com

Good news: I added a migration in version 2.8.0, that allows you to migrate the old configurations. But it will print an annoying deprecation warning. Else I cannot ensure, that 0.18.x users will ever use the correct post-build action for matrix projects after migrating.

I released version 2.8.0 some minutes ago. It will take some hours for the new version to appear in Jenkins. Please install the new version tomorrow and check, if everything works as demanded. I will close the issue for now. Feel free to reopen it, if there is something missing regarding this case.

dheid@posteo.de (JIRA)

unread,
Sep 21, 2018, 9:01:02 AM9/21/18
to jenkinsc...@googlegroups.com

dheid@posteo.de (JIRA)

unread,
Sep 21, 2018, 9:02:01 AM9/21/18
to jenkinsc...@googlegroups.com

totoroliu1215@hotmail.com (JIRA)

unread,
Sep 21, 2018, 3:05:01 PM9/21/18
to jenkinsc...@googlegroups.com
Rick Liu updated an issue
Change By: Rick Liu
Attachment: config-0.17.xml
Attachment: config-2.8.1.xml

totoroliu1215@hotmail.com (JIRA)

unread,
Sep 21, 2018, 3:06:02 PM9/21/18
to jenkinsc...@googlegroups.com
Rick Liu commented on Bug JENKINS-53691
 
Re: "Execute script on Matrix" not working after upgraing from 0.18.1 to 1.0.0+

Thank you very much for such a prompt fix!

Attached my job config.xml when using v0.17 plugin and v2.8.1 plugin.
The solution works!

totoroliu1215@hotmail.com (JIRA)

unread,
Aug 27, 2019, 9:08:02 PM8/27/19
to jenkinsc...@googlegroups.com

totoroliu1215@hotmail.com (JIRA)

unread,
Aug 27, 2019, 9:08:02 PM8/27/19
to jenkinsc...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages