Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.
If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!
breaking forward slash inserted in downloadprogetpackage jenkins plugin
-
hi all, i logged this issue on github yesterday:
https://github.com/Inedo/inedo-docs/issues/115When using the download directive in the jenkins plugin, it inserts a forward slash at the start of the destination string, which breaks the download to a windows agent:
downloadProgetPackage downloadFolder: "${WORKSPACE}/${deployLocation}", downloadFormat: 'zip', feedName: 'PlatDev', groupName: "Relativity/${env.appName}/${BRANCH_NAME}", packageName: "${env.appName}", version: 'Latest'
${WORKSPACE} == pwd() == D:\workspace\_5649-PS-jenkins-deploy-pipeline ${deployLocation} == 'deploy'
Result:
[ProGet] Download package to /D:\workspace\_5649-PS-jenkins-deploy-pipeline/deploy
has anyone seen this, resolved it?
I am currently working around it by using the raw url download:
httpRequest outputFile: "${deployLocation}/${appName}.zip", responseHandle: 'NONE', url: 'http://proget.consilio.com/upack/PlatDev/download/Relativity/ProcessingSync/PLATDEV-5649-PS-jenkins-deploy-pipeline/ProcessingSync?latest&contentOnly=zip'
-
I'm not really sure; we don't maintain this plug-in (it's by the community), but you might find the answer by poking around through the source-code:
-
@mcascone_8142 said in breaking forward slash inserted in downloadprogetpackage jenkins plugin:
I opened a bug on Jenkins' JIRA: https://issues.jenkins-ci.org/browse/JENKINS-61299