Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-12008

Matrix build checks out to root workspace directory

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • git-plugin

      When using a matrix build job, the git plugin checks out the repository for each axis combination, which is totally fine.
      Unfortunately, it does also checkout the repository in the root workspace directory.

      Example:

      • Matrix build:
        • CONFBRANCH: master, foo
        • CONFBAR: bar, baz
      • this results in the following combinations:
        • master/bar
        • master/baz
        • foo/bar
        • foo/baz
      • building the project does 5 checkouts:
        • workspace/
        • workspace/CONFBAR/bar/CONFBRANCH/master
        • workspace/CONFBAR/bar/CONFBRANCH/foo
        • workspace/CONFBAR/baz/CONFBRANCH/master
        • workspace/CONFBAR/baz/CONFBRANCH/foo

      In my eyes, the first checkout (to workspace/) should not happen since it does not belong to any matrix build configuration.

          [JENKINS-12008] Matrix build checks out to root workspace directory

            Unassigned Unassigned
            cweiske_nr Christian Weiske
            Votes:
            3 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: