Project

General

Profile

Bug #1836

Support a way to retrigger part of matrix job

Added by Szilárd Páll about 4 years ago. Updated over 2 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Affected version - extra info:
Affected version:
Sysadmin - current
Close

History

#2 Updated by Teemu Murtola over 3 years ago

In our current setup, it might be possible to get this work with smaller changes to Gerrit Trigger + some code in the workflow job that triggers the matrix build. In theory, all that would be needed would be to have a link to the original build in the Jenkins cause object that gets created when you retrigger a build, and a way to access the original build through that from the workflow script. We could then write some code in the workflow script to 1) track the failed configurations for each workflow, e.g., as an artifact (this can be tricky, but in theory should be possible by accessing some Jenkins internals from the script, and this would allow also other improvements to current behavior), and 2) use that information when building a retriggered build to only trigger the matrix configurations that previously failed.

#3 Updated by Stefan Fleischmann over 2 years ago

  • Project changed from Sysadmin to Support Platforms

Also available in: Atom PDF