[Issue 1870] New - Prevent hudson from archiving multiple times within forked maven build lifecycles

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[Issue 1870] New - Prevent hudson from archiving multiple times within forked maven build lifecycles

rlink77de
https://hudson.dev.java.net/issues/show_bug.cgi?id=1870
                 Issue #|1870
                 Summary|Prevent hudson from archiving multiple times within fo
                        |rked maven build lifecycles
               Component|hudson
                 Version|current
                Platform|All
              OS/Version|All
                     URL|
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|ENHANCEMENT
                Priority|P3
            Subcomponent|maven2
             Assigned to|issues@hudson
             Reported by|rlink77de






------- Additional comments from [hidden email] Mon Jun 16 15:03:11 +0000 2008 -------
Everytime hudson receives a post build event from maven it triggers the
archiving of the artifacts. This can be cumbersome in a distributed environment,
because war or ear archives have to be transferred multiples times over the wire.

Please archive an artifact only once or let the project configure this.

Suppose the following code in MavenArtifact:

 /**
     * Called from within Maven to archive an artifact in Hudson.
     */
    public void archive(MavenBuildProxy build, File file, BuildListener listener)
            throws IOException, InterruptedException {
        FilePath target = getArtifactArchivePath(build, groupId, artifactId,
                version);
        if (target.exists()) {
            return;
        }

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Issue 1870] Prevent hudson from archiving multiple times within forked maven build lifecycles

abayer
https://hudson.dev.java.net/issues/show_bug.cgi?id=1870



User abayer changed the following:

                What    |Old value                 |New value
================================================================================
                  Status|NEW                       |RESOLVED
--------------------------------------------------------------------------------
              Resolution|                          |FIXED
--------------------------------------------------------------------------------




------- Additional comments from [hidden email] Fri Oct 30 23:24:28 +0000 2009 -------
This actually got fixed a while back, but I didn't know this bug existed -
resolving.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Issue 1870] Prevent hudson from archiving multiple times within forked maven build lifecycles

abayer
In reply to this post by rlink77de
https://hudson.dev.java.net/issues/show_bug.cgi?id=1870






------- Additional comments from [hidden email] Sat Oct 31 00:00:10 +0000 2009 -------
*** Issue 1120 has been marked as a duplicate of this issue. ***

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]