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

Automatically archived artifacts from Maven2 jobs are not accessible (or I do not know how :-))

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Component/s: copyartifact-plugin
    • Labels:
      None
    • Environment:
      Hudson 1.355, copyartifact plugin 1.1, Linux, Java 1.6.0_17
    • Similar Issues:

      Description

      Hello,

      I have set up a Maven2 job (see http://s312195779.online.de/hudson/job/HgKit/), where artifacts are archived automatically under http://s312195779.online.de/hudson/job/HgKit/de.berlios.hgkit$hgkit/lastSuccessfulBuild/artifact/.

      I tried to use copyartifact from another job trying as Ant filesets:

      1. de.berlios.hgkit$hgkit/lastSuccessfulBuild/artifact/
      2. **/*jar
      3. left empty.

      The plugin always reported no artifacts to be copied.

      A workaround was to manually set up a "Archive artifacts" Postbuild step, which stores the jars beneath http://s312195779.online.de/hudson/job/HgKit/lastSuccessfulBuild/artifact/

      Regards
      Mirko

        Attachments

          Activity

          Hide
          mindless Alan Harder added a comment -

          Does it work if you enter "HgKit/de.berlios.hgkit$hgkit" as the source project for copyartifact? If so, I'll update the help text with some info about maven modules.

          Show
          mindless Alan Harder added a comment - Does it work if you enter "HgKit/de.berlios.hgkit$hgkit" as the source project for copyartifact? If so, I'll update the help text with some info about maven modules.
          Hide
          mfriedenhagen Mirko Friedenhagen added a comment -

          Hello,

          yes, entering "HgKit/de.berlios.hgkit$hgkit" as source project leaving "Artifacts to copy" empty copies all three artifacts and having de.berlios.hgkit/hgkit/SNAPSHOT/*.jar as "Artifacts to copy" only copies the JARs without the pom.xml as expected.

          Updating the help text would be good .

          Regards
          Mirko

          Show
          mfriedenhagen Mirko Friedenhagen added a comment - Hello, yes, entering "HgKit/de.berlios.hgkit$hgkit" as source project leaving "Artifacts to copy" empty copies all three artifacts and having de.berlios.hgkit/hgkit/SNAPSHOT/*.jar as "Artifacts to copy" only copies the JARs without the pom.xml as expected. Updating the help text would be good . Regards Mirko
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in hudson
          User: : mindless
          Path:
          trunk/hudson/plugins/copyartifact/src/main/resources/hudson/plugins/copyartifact/CopyArtifact/help-projectName.html
          http://jenkins-ci.org/commit/30420
          Log:
          [copyartifact] [FIXED JENKINS-6355] add help text about copying artifacts
          from a particular module of a Maven project.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : mindless Path: trunk/hudson/plugins/copyartifact/src/main/resources/hudson/plugins/copyartifact/CopyArtifact/help-projectName.html http://jenkins-ci.org/commit/30420 Log: [copyartifact] [FIXED JENKINS-6355] add help text about copying artifacts from a particular module of a Maven project.
          Hide
          mfriedenhagen Mirko Friedenhagen added a comment -

          I will close this issue after the next release, then .

          Thanks
          Mirko

          Show
          mfriedenhagen Mirko Friedenhagen added a comment - I will close this issue after the next release, then . Thanks Mirko
          Hide
          mfriedenhagen Mirko Friedenhagen added a comment -

          Fixes are released.

          Show
          mfriedenhagen Mirko Friedenhagen added a comment - Fixes are released.

            People

            • Assignee:
              mindless Alan Harder
              Reporter:
              mfriedenhagen Mirko Friedenhagen
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: