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

CopyArchiver deprecated - how do I use the Artifact deployer plugin?

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Hi,

      Previously I was using the https://wiki.jenkins-ci.org/display/JENKINS/CopyArchiver+Plugin but I have noticed that this has been deprecated and replaced with https://wiki.jenkins-ci.org/display/JENKINS/ArtifactDeployer+Plugin.

      In the config.xml from my project I used to have:

      <com.thalesgroup.hudson.plugins.copyarchiver.CopyArchiverPublisher>
            <sharedDirectoryPath>${JENKINS_HOME}\jobs\External_Bullet\builds\${BUILD_ID}</sharedDirectoryPath>
            <flatten>false</flatten>
            <deleteShared>false</deleteShared>
            <archivedJobList>
              <com.thalesgroup.hudson.plugins.copyarchiver.ArchivedJobEntry>
                <jobName>External_Bullet</jobName>
                <pattern>tfields/Live/GameEngine/Lib/**/*.lib, tfields/Live/GameEngine/Lib/**/*.pdb, tfields/Live/GameEngine/Lib/**/*.a</pattern>
                <excludes></excludes>
              </com.thalesgroup.hudson.plugins.copyarchiver.ArchivedJobEntry>
            </archivedJobList>
          </com.thalesgroup.hudson.plugins.copyarchiver.CopyArchiverPublisher>
      

      How do I do the same with the new Artifact deployer plugin? For starters, I don't see any option to specify the shared directory.

      Thanks in advance.

      Tom.

        Attachments

          Activity

          Hide
          tfields Thomas Fields added a comment -

          Hi gbois,

          What do you mean by partial fix? What's still missing?

          Thanks,
          Tom.

          Show
          tfields Thomas Fields added a comment - Hi gbois, What do you mean by partial fix? What's still missing? Thanks, Tom.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Gregory Boissinot
          Path:
          src/main/java/org/jenkinsci/plugins/artifactdeployer/ArtifactDeployerPublisher.java
          http://jenkins-ci.org/commit/artifactdeployer-plugin/95178ca3e624d345e7f4c0a3d48f953c68d1f28e
          Log:
          Fixed other JENKINS-10360 - Added matrix compatibility

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Gregory Boissinot Path: src/main/java/org/jenkinsci/plugins/artifactdeployer/ArtifactDeployerPublisher.java http://jenkins-ci.org/commit/artifactdeployer-plugin/95178ca3e624d345e7f4c0a3d48f953c68d1f28e Log: Fixed other JENKINS-10360 - Added matrix compatibility
          Hide
          gbois Gregory Boissinot added a comment -

          Fix available in 0.10

          Show
          gbois Gregory Boissinot added a comment - Fix available in 0.10
          Hide
          jitesh jitesh shivnani added a comment -

          Not sure if i am doing it right but its not working for remote deployment for me. Below are my repository configs-
          local repository - /home/usr/workspace/build/
          remote repository - //someserver/home/usr/build

          the build is going inside tomcat bin folder for some reason. Also i want to know if my remote server has some other credentials how can i pass them in url?

          Note - it is working find if i give some local location in remote repository

          Show
          jitesh jitesh shivnani added a comment - Not sure if i am doing it right but its not working for remote deployment for me. Below are my repository configs- local repository - /home/usr/workspace/build/ remote repository - //someserver/home/usr/build the build is going inside tomcat bin folder for some reason. Also i want to know if my remote server has some other credentials how can i pass them in url? Note - it is working find if i give some local location in remote repository
          Hide
          gbois Gregory Boissinot added a comment -

          Please make a new issue, It is more easier to answer you and to keep track of it.

          Show
          gbois Gregory Boissinot added a comment - Please make a new issue, It is more easier to answer you and to keep track of it.

            People

            • Assignee:
              gbois Gregory Boissinot
              Reporter:
              tfields Thomas Fields
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: