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

clone-workspace-scm doesn't work when source job is a matrix job.

    XMLWordPrintable

Details

    Description

      The clone workspace plugin doesn't handle matrix jobs. Running a build of a job using a workspace snapshot SCM from a matrix job results in the error:

      ERROR: [ JOB ]'s most recent build matching the criteria 'Any' doesn't have a workspace snapshot attached.
      Please run another build in [ JOB ] to get the workspace snapshot generated and attached.

      It might be necessary to specify the matrix configuration from which to clone the workspace in the downstream job's configuration, if possible including variable interpolation from the current config. This would allow a downstream matrix job to clone the workspace from an upstream job with a similar set of axes.

      Attachments

        Activity

          evilchili evilchili created issue -
          trnl Uladzimir Mihura made changes -
          Field Original Value New Value
          Attachment clone-workspace-scm.hpi [ 24126 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 136986 ] JNJira + In-Review [ 174616 ]
          abayer Andrew Bayer made changes -
          Assignee Andrew Bayer [ abayer ]

          People

            Unassigned Unassigned
            evilchili evilchili
            Votes:
            8 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated: