Uploaded image for project: 'Jenkins Artifactory Plug-in'
  1. Jenkins Artifactory Plug-in
  2. HAP-397

Not all artifacts are published to Artifactory

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 2.1.4
    • Fix Version/s: 2.3.1
    • Component/s: Ivy
    • Labels:
      None

      Description

      I have a problem with my Ivy/Ant job in Jenkins 1.510 .All artifacts are published in local repo, but only some of them (one per extension) are deployed to Artifactory.
      This is my publish pattern:
      Ivy pattern: [organisation]/[module]/[revision]/ivy-[revision].xml ,
      Artifact pattern: [organisation]/[module]/[revision]/[artifact][revision]([classifier]).[ext]

      Jenkins console out:
      publish-local:
      [buildinfo:ant] Added publish end Ivy Listener to Ivy Engine.
      [ivy:publish] :: delivering :: rtec.energy#Energy-node;1.0 :: 1.0 :: integration :: Mon Apr 15 16:05:15 MSK 2013
      [ivy:publish] delivering ivy file to /usr/share/tomcat7/.hudson/jobs/Energy-node/workspace/distrib/ivys/ivy-1.0.xml
      [ivy:publish] :: publishing :: rtec.energy#Energy-node
      [ivy:publish] published Energy-node to /usr/share/tomcat7/.ivy2/local/rtec.energy/Energy-node/1.0/jars/Energy-node.jar
      [buildinfo:collect] Collecting artifact Energy-node-1.0.jar for module Energy-node using file /usr/share/tomcat7/.hudson/jobs/Energy-node/workspace/distrib/jars/Energy-node-1.0.jar
      [ivy:publish] published Energy-node to /usr/share/tomcat7/.ivy2/local/rtec.energy/Energy-node/1.0/tests/Energy-node-tests.jar
      [buildinfo:collect] Collecting artifact Energy-node-1.0.jar for module Energy-node using file /usr/share/tomcat7/.hudson/jobs/Energy-node/workspace/distrib/tests/Energy-node-1.0-tests.jar
      [ivy:publish] published Energy-node to /usr/share/tomcat7/.ivy2/local/rtec.energy/Energy-node/1.0/sources/Energy-node-sources.jar
      [buildinfo:collect] Collecting artifact Energy-node-1.0.jar for module Energy-node using file /usr/share/tomcat7/.hudson/jobs/Energy-node/workspace/distrib/sources/Energy-node-1.0-sources.jar
      [ivy:publish] published Energy-node to /usr/share/tomcat7/.ivy2/local/rtec.energy/Energy-node/1.0/javadocs/Energy-node-javadoc.jar
      [buildinfo:collect] Collecting artifact Energy-node-1.0.jar for module Energy-node using file /usr/share/tomcat7/.hudson/jobs/Energy-node/workspace/distrib/javadocs/Energy-node-1.0-javadoc.jar
      [ivy:publish] published Energy-node to /usr/share/tomcat7/.ivy2/local/rtec.energy/Energy-node/1.0/zips/Energy-node.zip
      [buildinfo:collect] Collecting artifact Energy-node-1.0.zip for module Energy-node using file /usr/share/tomcat7/.hudson/jobs/Energy-node/workspace/distrib/zips/Energy-node-1.0.zip
      [ivy:publish] published Energy-node to /usr/share/tomcat7/.ivy2/local/rtec.energy/Energy-node/1.0/props/Energy-node.properties
      [buildinfo:collect] Collecting artifact Energy-node-1.0.properties for module Energy-node using file /usr/share/tomcat7/.hudson/jobs/Energy-node/workspace/distrib/props/Energy-node-1.0.properties
      [ivy:publish] published ivy to /usr/share/tomcat7/.ivy2/local/rtec.energy/Energy-node/1.0/ivys/ivy.xml
      [buildinfo:collect] Collecting artifact ivy-1.0.xml for module Energy-node using file /usr/share/tomcat7/.hudson/jobs/Energy-node/workspace/distrib/ivys/ivy-1.0.xml

      BUILD SUCCESSFUL
      Total time: 1 minute 10 seconds
      [buildinfo:ant] Starting deployment
      Deploying artifact: http://artifactory.rtec.ru:8080/libs-release-local/rtec/energy/Energy-node/1.0/Energy-node-1.0.jar
      Deploying artifact: http://artifactory.rtec.ru:8080/libs-release-local/rtec/energy/Energy-node/1.0/ivy-1.0.xml
      Deploying artifact: http://artifactory.rtec.ru:8080/libs-release-local/rtec/energy/Energy-node/1.0/Energy-node-1.0.zip
      Deploying artifact: http://artifactory.rtec.ru:8080/libs-release-local/rtec/energy/Energy-node/1.0/Energy-node-1.0.properties
      Deploying build info to: http://artifactory.rtec.ru:8080/api/build
      Finished: SUCCESS

      It seems like Jenkins ignores artifact's classifier or type.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                eyalbe Eyal Ben Moshe (Inactive)
                Reporter:
                elena Elena K.
              • Votes:
                6 Vote for this issue
                Watchers:
                11 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: