-
Improvement
-
Resolution: Fixed
-
Major
-
None
-
Platform: All, OS: All
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; }
- is duplicated by
-
JENKINS-1120 maven2 job archiving too often
- Closed