• Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • maven-plugin
    • None
    • Windows Server 2008R2, JDK7, Jenkins LTS 1.532.2

        [JENKINS-22466] Allow disabling of site archiving

        This issue was originally reported as issue JENKINS-7785.

        When running a job on a Jenkins slave that deploys a maven site, the slave will automatically archive all site artifacts to the Jenkins master. In other words, the site artifacts are transported both to the maven repo (Nexus in our case), and the Jenkins master.

        In our scenario, the size of the site artifacts is approx. 5GB. We'd like to finish this deploy job as fast as possible, so therefore we like to have the possibility to disable the site artifact archiving to the master.

        I have a patch ready in my local clone of the maven-plugin repository, implementing a new option "Disable automatic site documentation artifact archiving". I'll submit a pull request later today.

        Lieven Govaerts added a comment - This issue was originally reported as issue JENKINS-7785 . When running a job on a Jenkins slave that deploys a maven site, the slave will automatically archive all site artifacts to the Jenkins master. In other words, the site artifacts are transported both to the maven repo (Nexus in our case), and the Jenkins master. In our scenario, the size of the site artifacts is approx. 5GB. We'd like to finish this deploy job as fast as possible, so therefore we like to have the possibility to disable the site artifact archiving to the master. I have a patch ready in my local clone of the maven-plugin repository, implementing a new option "Disable automatic site documentation artifact archiving". I'll submit a pull request later today.

        Code changed in jenkins
        User: Lieven Govaerts
        Path:
        src/main/java/hudson/maven/MavenBuild.java
        src/main/java/hudson/maven/MavenBuildProxy.java
        src/main/java/hudson/maven/MavenModuleSet.java
        src/main/java/hudson/maven/reporters/MavenSiteArchiver.java
        src/main/resources/hudson/maven/MavenModuleSet/configure-entries.jelly
        src/main/webapp/siteArchivingDisabled.html
        src/test/java/hudson/maven/reporters/SurefireArchiverUnitTest.java
        http://jenkins-ci.org/commit/maven-plugin/a88c6cd268f62bb6c9da43ce77cdd6b7d80223a4
        Log:
        JENKINS-22466

        Add a new option ""Disable automatic site documentation artifact
        archiving" in maven build jobs.

        SCM/JIRA link daemon added a comment - Code changed in jenkins User: Lieven Govaerts Path: src/main/java/hudson/maven/MavenBuild.java src/main/java/hudson/maven/MavenBuildProxy.java src/main/java/hudson/maven/MavenModuleSet.java src/main/java/hudson/maven/reporters/MavenSiteArchiver.java src/main/resources/hudson/maven/MavenModuleSet/configure-entries.jelly src/main/webapp/siteArchivingDisabled.html src/test/java/hudson/maven/reporters/SurefireArchiverUnitTest.java http://jenkins-ci.org/commit/maven-plugin/a88c6cd268f62bb6c9da43ce77cdd6b7d80223a4 Log: JENKINS-22466 Add a new option ""Disable automatic site documentation artifact archiving" in maven build jobs.

        Code changed in jenkins
        User: Olivier Lamy
        Path:
        src/main/java/hudson/maven/MavenBuild.java
        src/main/java/hudson/maven/MavenBuildProxy.java
        src/main/java/hudson/maven/MavenModuleSet.java
        src/main/java/hudson/maven/reporters/MavenSiteArchiver.java
        src/main/resources/hudson/maven/MavenModuleSet/configure-entries.jelly
        src/main/webapp/siteArchivingDisabled.html
        src/test/java/hudson/maven/reporters/SurefireArchiverUnitTest.java
        http://jenkins-ci.org/commit/maven-plugin/db65e0e7a1086b70cf6154d56efe9536b9384a05
        Log:
        Merge pull request #20 from lgov/JENKINS-22466

        JENKINS-22466 - Disable automatic site documentation artifact archiving

        Compare: https://github.com/jenkinsci/maven-plugin/compare/606dd38942c2...db65e0e7a108

        SCM/JIRA link daemon added a comment - Code changed in jenkins User: Olivier Lamy Path: src/main/java/hudson/maven/MavenBuild.java src/main/java/hudson/maven/MavenBuildProxy.java src/main/java/hudson/maven/MavenModuleSet.java src/main/java/hudson/maven/reporters/MavenSiteArchiver.java src/main/resources/hudson/maven/MavenModuleSet/configure-entries.jelly src/main/webapp/siteArchivingDisabled.html src/test/java/hudson/maven/reporters/SurefireArchiverUnitTest.java http://jenkins-ci.org/commit/maven-plugin/db65e0e7a1086b70cf6154d56efe9536b9384a05 Log: Merge pull request #20 from lgov/ JENKINS-22466 JENKINS-22466 - Disable automatic site documentation artifact archiving Compare: https://github.com/jenkinsci/maven-plugin/compare/606dd38942c2...db65e0e7a108

          Unassigned Unassigned
          lgo Lieven Govaerts
          Votes:
          0 Vote for this issue
          Watchers:
          2 Start watching this issue

            Created:
            Updated: