• Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • maven-plugin
    • None

      (From http://stackoverflow.com/questions/2470008/how-do-you-prevent-a-hudson-slave-from-archiving-artifacts)

      It turns out our slaves spend a considerable amount of time moving the archived artifacts back to the master Hudson node. It at least triples the duration of the build. It would be nice if there would be a way to prevent it. However, setting the maximum number of builds to keep doesn't have an influence at all. Is there another way to prevent sending the results back to the central Hudson master?

      Note that I actually don't have the archive artifacts option checked. However, the slave is still 'archiving' whatever it finds to the master:

      [HUDSON] Archiving .../pom.xml to .../pom.xml
      [HUDSON] Archiving .../...-0.1.3-SNAPSHOT.jar to .../...-0.1.3-SNAPSHOT.jar
      

      ... with the second path in every line always being a location on the master. Is this a bug? Is there a workaround?

          [JENKINS-5990] Slave always archiving artifacts

          wilfred created issue -

          Andrew Bayer added a comment -

          As I just said at the stackoverflow thread:

          Maven jobs have an option for not archiving artifacts in the advanced options of the Maven section - that is, separate from the "Archive Artifacts" publisher. By default, the Maven jobs will archive the Maven artifacts of a module automatically, regardless of the "Archive Artifacts" publisher settings. The advanced option for Maven projects was added a couple months ago, if I remember correctly.

          Andrew Bayer added a comment - As I just said at the stackoverflow thread: Maven jobs have an option for not archiving artifacts in the advanced options of the Maven section - that is, separate from the "Archive Artifacts" publisher. By default, the Maven jobs will archive the Maven artifacts of a module automatically, regardless of the "Archive Artifacts" publisher settings. The advanced option for Maven projects was added a couple months ago, if I remember correctly.
          mdonohue made changes -
          Component/s New: maven2 [ 15487 ]
          Component/s Original: other [ 15490 ]

          mdonohue added a comment -

          This appears to be a duplicate of JENKINS-4593

          mdonohue added a comment - This appears to be a duplicate of JENKINS-4593
          mdonohue made changes -
          Link New: This issue duplicates JENKINS-4593 [ JENKINS-4593 ]
          mdonohue made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]
          Jenkins IRC Bot made changes -
          Component/s New: maven-plugin [ 16033 ]
          Component/s Original: maven2 [ 15487 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 136083 ] New: JNJira + In-Review [ 203845 ]

            Unassigned Unassigned
            wilfred wilfred
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: