Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-2391

Build always downloads contents of repository

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Postponed
    • maven-plugin
    • None
    • Platform: All, OS: All

    Description

      When doing a maven2 build (using a private maven repository), maven continually
      downloads all the dependencies on each build. The result is that the build
      takes almost an hour instead of a few minutes. My understanding is that Maven
      should only download updated dependencies after the first build. Please feel
      free to correct my understanding if it is incorrect.

      Thanks.

      Attachments

        Issue Links

          Activity

            Your problem is most likely caused by the fact that Hudson wipes out the jobs
            workspace together the private maven ".repository" located in the workspace
            forcing mvn to re-download the content between builds. This problem doesn't
            exists for jobs running in SVN/CVS in update mode. Fix of JENKINS-1819
            https://hudson.dev.java.net/issues/show_bug.cgi?id=1819 will solve the reported
            problem.

            pjos Pawel Josefsson added a comment - Your problem is most likely caused by the fact that Hudson wipes out the jobs workspace together the private maven ".repository" located in the workspace forcing mvn to re-download the content between builds. This problem doesn't exists for jobs running in SVN/CVS in update mode. Fix of JENKINS-1819 https://hudson.dev.java.net/issues/show_bug.cgi?id=1819 will solve the reported problem.
            mindless Alan Harder added a comment -

            Closing old issue.. reopen if you still see a problem on a recent Hudson release, thanks.

            mindless Alan Harder added a comment - Closing old issue.. reopen if you still see a problem on a recent Hudson release, thanks.

            People

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

              Dates

                Created:
                Updated:
                Resolved: