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

Special clone case for multi-configuration build handling

XMLWordPrintable

      When a user creates a multi configuration build, then wants to archive the entire workspace, the plugin only archives the sub-configuration.

      For example
      let's call it, "My_Jenkins_Multiconfig" which is effectively the parent level job, and builds 2 configurations using the Configuration Matrix plugin. I have two configs. Release and Debug.
      What happens is that I get two builds in the jenkins workspace that look like this:
      My_Jenkins_Multiconfig/label/<slave_node>/Debug
      My_Jenkins_Multiconfig/label/<slave_node>/Release

      You end up with two implied job names to match each of those configurations. This is as expected. So far so good.

      The clone workspace plugin will then archive TWO clones. The one for release and the one for debug. This is working as designed.

      The special case here is that I'd like to archive the parent level job so that the clone workspace plugin has the option to clone outside of the loop (for lack of a better term) for each config in the matrix.

      The result is that I end up with one clone of that contains both build outputs.
      i.e. cloned at this level, "My_Jenkins_Multiconfig" instead of "My_Jenkins_Multiconfig/local/<slave_node>/Release"

      Any workaround suggestions to this would be appreciated

            Unassigned Unassigned
            mikelupo MICHAEL LUPO
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: