You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[JENKINS-12778] Extend touchstone functionality to allow for multiple touchstones #493
Since I have to support a constantly/rapidly changing set of branches, each supporting a couple of platforms, I want to be able to have only one matrix per branch job to do all builds/tests per branch. To achieve this efficiently, I need to be able to configure the matrix job to
1. build main targets for all supported platforms
2. If 1 succeeds, run unit test for all supported platforms
3. If 2 succeeds, build additional test tools for more extensive tests
4. If 3 succeeds, run tests for all supported platforms
For this I need to be able to define different touchstones for each of the steps.
Since I have to support a constantly/rapidly changing set of branches, each supporting a couple of platforms, I want to be able to have only one matrix per branch job to do all builds/tests per branch. To achieve this efficiently, I need to be able to configure the matrix job to
1. build main targets for all supported platforms
2. If 1 succeeds, run unit test for all supported platforms
3. If 2 succeeds, build additional test tools for more extensive tests
4. If 3 succeeds, run tests for all supported platforms
For this I need to be able to define different touchstones for each of the steps.
The easiest way to implement this without breaking the compatibility for older configurations might be to let the existing touchstone config field (touchStoneCombinationFilter) accept several semicolon separated expressions, and to split it up in MatrixBuild.java in doRun. I would assume that there is currently no valid use case for semicolons in this field, so it should not break compatibility with existing project configurations.
It would probably look nicer to have as similar interface as is used for the axes, but I'm not familiar enough with Jenkins to be sure how to implement it without causing compatibility problems with existing projects.
Is there any chance to get the first proposal (semicolon separated touchstones) accepted? I would like to start implementing, but if this proposal looks too messy to stand a chance I would not want to waste my time...
The easiest way to implement this without breaking the compatibility for older configurations might be to let the existing touchstone config field (touchStoneCombinationFilter) accept several semicolon separated expressions, and to split it up in MatrixBuild.java in doRun. I would assume that there is currently no valid use case for semicolons in this field, so it should not break compatibility with existing project configurations.
It would probably look nicer to have as similar interface as is used for the axes, but I'm not familiar enough with Jenkins to be sure how to implement it without causing compatibility problems with existing projects.
Is there any chance to get the first proposal (semicolon separated touchstones) accepted? I would like to start implementing, but if this proposal looks too messy to stand a chance I would not want to waste my time...
Activity
jenkins-infra-bot commentedon Feb 15, 2012
tho75:
Raw content of original comment:
The easiest way to implement this without breaking the compatibility for older configurations might be to let the existing touchstone config field (touchStoneCombinationFilter) accept several semicolon separated expressions, and to split it up in MatrixBuild.java in doRun. I would assume that there is currently no valid use case for semicolons in this field, so it should not break compatibility with existing project configurations.
It would probably look nicer to have as similar interface as is used for the axes, but I'm not familiar enough with Jenkins to be sure how to implement it without causing compatibility problems with existing projects.
Is there any chance to get the first proposal (semicolon separated touchstones) accepted? I would like to start implementing, but if this proposal looks too messy to stand a chance I would not want to waste my time...
jenkins-infra-bot commentedon Feb 17, 2012
tho75:
Raw content of original comment:
Here are some job configurations to test the implementation of my previous proposal (semicolon separated touchstone filters)
jenkins-infra-bot commentedon Feb 17, 2012
tho75:
Raw content of original comment:
Updated archive: Added test case where build is expected to fail due to one failed child build in first touchstone
jenkins-infra-bot commentedon Feb 17, 2012
tho75:
Raw content of original comment:
Implemented in git@github.com:tho74/jenkins.git, branch
JENKINS-12778-fixedPull request submitted, currently jenkinsci/jenkins#377
jenkins-infra-bot commentedon Mar 6, 2012
Raw content of original comment:
Code changed in jenkins
User: Kohsuke Kawaguchi
Path:
changelog.html
http://jenkins-ci.org/commit/jenkins/7e2500c7d38ccf3b4944013afd11b75aa8c268ea
Log:
[FIXED JENKINS-12778] this commit and previous 2 commits
jenkins-infra-bot commentedon Mar 6, 2012
Raw content of original comment:
Integrated in
jenkins_main_trunk #1576
[FIXED JENKINS-12778] this commit and previous 2 commits (Revision 7e2500c7d38ccf3b4944013afd11b75aa8c268ea)
Result = UNSTABLE
Kohsuke Kawaguchi : 7e2500c7d38ccf3b4944013afd11b75aa8c268ea
Files :