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

          Christian Weiske created issue -
          Nicolas De Loof made changes -
          Assignee Original: Andrew Bayer [ abayer ] New: Nicolas De Loof [ ndeloof ]
          Resolution New: Not A Defect [ 7 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Mark Waite made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          Or Shachar made changes -
          Resolution Original: Not A Defect [ 7 ]
          Status Original: Closed [ 6 ] New: Reopened [ 4 ]
          Or Shachar made changes -
          Labels New: git git-plugin matrix
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 142280 ] New: JNJira + In-Review [ 186033 ]
          Nicolas De Loof made changes -
          Assignee Original: Nicolas De Loof [ ndeloof ]
          Mark Waite made changes -
          Labels Original: git git-plugin matrix New: matrix
          Mark Waite made changes -
          Status Original: Reopened [ 4 ] New: Open [ 1 ]

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

              Created:
              Updated: