Issue Type: Bug Bug
Affects Versions: current
Assignee: bap
Attachments: jenkins.png
Components: publish-over-ssh
Created: 23/Apr/14 1:42 PM
Description:

When publishing artefacts, plugin complains there is no workspace directory and that i maybe have not archived the artifacts. However they are archived, as logs states a few lines before:

Started by user delbd
Building in workspace /home/intrarmi/.jenkins/workspace/Fronts
Promoting Fronts #42
Archiving artifacts
build hudson.tasks.ArtifactArchiver@4e39b2f6 SUCCESS
SSH: Connecting from host [ci-me.oma.be]
SSH: Connecting with configuration [ansible main repo] ...
SSH: Disconnecting configuration [ansible main repo] ...
ERROR: Exception when publishing, exception message [The base directory does not exist. If this is a promotion, have you "Archived the artifacts"?]
build BapSshPromotionPublisherPlugin[delegate=BapSshPublisherPlugin[consolePrefix=SSH: ,delegate=BPInstanceConfig[publishers=[BapSshPublisher[configName=ansible main repo,verbose=false,transfers=[BapSshTransfer[sourceFiles=**/*.rpm,excludes=,removePrefix=,remoteDirectory=builds/production,remoteDirectorySDF=false,flatten=true,cleanRemote=false,noDefaultExcludes=false,makeEmptyDirs=false,patternSeparator=[, ]+,execCommand=,execTimeout=120000,pseudoTty=false]],useWorkspaceInPromotion=false,usePromotionTimestamp=false,retry=<null>,label=<null>,credentials=<null>]],continueOnError=false,failOnError=false,masterNodeName=<null>,alwaysPublishFromMaster=false,paramPublish=<null>]]] UNSTABLE
Finished: UNSTABLE

If i go to jenkins server and check the promotion folder, i can see that the artifactcs have, indeed, been archived:

[intrarmi@ci-me archive]$ pwd
/home/intrarmi/.jenkins/jobs/Fronts/promotions/production/builds/2014-04-23_14-32-10/archive
[intrarmi@ci-me archive]$ ls target/rpm/FrontHD/RPMS/noarch/FrontHD-0.0.2-SNAPSHOT20140423121624.noarch.rpm -l
-rw-r--r--. 1 intrarmi mecal 67723701 Apr 23 14:32 target/rpm/FrontHD/RPMS/noarch/FrontHD-0.0.2-SNAPSHOT20140423121624.noarch.rpm

Attached is a screenshot of my config.

Environment: linux
Project: Jenkins
Priority: Major Major
Reporter: David Delbecq
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to