Source file transfer: "/archive does not exist"

XMLWordPrintable

    • Type: Bug
    • Resolution: Not A Defect
    • Priority: Major
    • None
    • Environment:
      Debian GNU/Linux
      Jenkins ver. 1.411
      PoSSH 0.12

      When trying to transfer "**/*.war" ("Transfer Set Source files" field), the promotion fails and says:

       
      Started by user anonymous
      Promoting my-job #1
      ERROR: Ignore Problem expanding maven opts macros org.jenkinsci.plugins.tokenmacro.TokenMacro
      [8mha:XXXXXXX[0mSSH: Connecting from host [my-host]
      SSH: Connecting with configuration [Int?gration A] ...
      SSH: Disconnecting configuration [Int?gration A] ...
      ERROR: Exception when publishing, exception message [/home/hudson/.hudson/jobs/my-job/builds/2011-05-13_16-51-24/archive does not exist.]
      [8mha:XXXXXXX[0mbuild BapSshPromotionPublisherPlugin[delegate=BapSshPublisherPlugin[consolePrefix=SSH: ,delegate=BPInstanceConfig[publishers=[BapSshPublisher[configName=Int?gration A,verbose=false,transfers=[BapSshTransfer[sourceFiles=**/*.war,excludes=,removePrefix=,remoteDirectory=/usr/share/tomcat5.5/wars/${GIT_COMMIT},remoteDirectorySDF=false,flatten=false,cleanRemote=false,/home/hudson/redeploy_a.sh ${JOB_NAME} ${BUILD_NUMBER} ${GIT_COMMIT},120000]],useWorkspaceInPromotion=false,usePromotionTimestamp=false]],continueOnError=false,failOnError=false,masterNodeName=,alwaysPublishFromMaster=false]]] UNSTABLE
      Finished: UNSTABLE
      

      In the "/home/hudson/.hudson/jobs/my-job/builds/2011-05-13_16-51-24/" directory, there is no directory named "archive".

      The war file is in a directory "/home/hudson/.hudson/jobs/my-job/builds/2011-05-13_16-51-24/a$a/archive/a/a/1.0-SNAPSHOT/" (so one directory deeper than publish-over-ssh expects)

            Assignee:
            bap
            Reporter:
            Sylvain Veyrié
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: