Skip to content

[JENKINS-12778] Extend touchstone functionality to allow for multiple touchstones #493

Closed

Description

@jenkins-infra-bot

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.


Originally reported by tho75, imported from: Extend touchstone functionality to allow for multiple touchstones
  • status: Resolved
  • priority: Major
  • component(s): matrix-project-plugin
  • resolution: Fixed
  • resolved: 2012-03-06T19:14:47+00:00
  • votes: 0
  • watchers: 0
  • imported: 2025-12-06
Raw content of original issue

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.

2 attachments

Activity

  1. jenkins-infra-bot commented on Feb 15, 2012

    @jenkins-infra-bot
    Author
    tho75:
    • Comment link
    • Original comment link (no redirect)
    • 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...

    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...

  2. jenkins-infra-bot commented on Feb 17, 2012

    @jenkins-infra-bot
    Author
    tho75:
    • Comment link
    • Original comment link (no redirect)
    • Raw content of original comment:

      Here are some job configurations to test the implementation of my previous proposal (semicolon separated touchstone filters)

    Here are some job configurations to test the implementation of my previous proposal (semicolon separated touchstone filters)

  3. jenkins-infra-bot commented on Feb 17, 2012

    @jenkins-infra-bot
    Author
    tho75:
    • Comment link
    • Original comment link (no redirect)
    • 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

    Updated archive: Added test case where build is expected to fail due to one failed child build in first touchstone

  4. jenkins-infra-bot commented on Feb 17, 2012

    @jenkins-infra-bot
    Author
    tho75:

    Implemented in git@​github.com:tho74/jenkins.git, branch JENKINS-12778-fixed
    Pull request submitted, currently jenkinsci/jenkins#377

  5. jenkins-infra-bot commented on Mar 6, 2012

    @jenkins-infra-bot
    Author
    scm_issue_link:

    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

  6. jenkins-infra-bot commented on Mar 6, 2012

    @jenkins-infra-bot
    Author
    dogfood:

    Integrated in jenkins_main_trunk #1576
    [FIXED JENKINS-12778] this commit and previous 2 commits (Revision 7e2500c7d38ccf3b4944013afd11b75aa8c268ea)

    Result = UNSTABLE
    Kohsuke Kawaguchi : 7e2500c7d38ccf3b4944013afd11b75aa8c268ea
    Files :

    • changelog.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions