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/deployhas 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
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login