• Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Critical Critical
    • copyartifact-plugin
    • None

      Jenkins 1.421
      Copy artifact 1.16

      We have a fairly big job that builds our whole systems (more than 17 projects) in an isolated build to ensure that all projects use the same version of dependencies. All the projects are build as a module of the mega-super-pom. To reduce the footprint of the archived artifacts we use the "archive artifacts" post build action instead of the archive artifact option on the maven build.

      After building the whole software a second job can be used to deploy the artifacts from the build job to various environments. The copy artifact plugin goes now through every projects (modules), where, most of them also contain various modules. This is a waste of time and resources. So we would like to have a way to tell the copy artifact build job only to get the artifacts from the post build step.

          [JENKINS-12064] Disable copy artifact for modules

          Wisen Tanasa added a comment -

          We are faced with relevant issues as well. It's hard to maintain the copyartifact plugin configuration when what we want is actually just Everything from the archived artifacts, excluding the modules artifacts.

          Example:
          Job Foo: Archive artifacts of modules with pattern */.zip.
          Job Bar: Copy every artifact from Job Foo with pattern ** --> Here I'm forced to use */.zip again otherwise I will be getting Foo-1.0.jar

          Wisen Tanasa added a comment - We are faced with relevant issues as well. It's hard to maintain the copyartifact plugin configuration when what we want is actually just Everything from the archived artifacts , excluding the modules artifacts. Example: Job Foo: Archive artifacts of modules with pattern * / .zip. Job Bar: Copy every artifact from Job Foo with pattern ** --> Here I'm forced to use * / .zip again otherwise I will be getting Foo-1.0.jar

            Unassigned Unassigned
            peter_schuetze peter_schuetze
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: