@rhessinger thanks - i actually want it to overwrite. I'm just not getting an error when it looks like it's not doing that, based on the date of the package upload.
Posts made by MaxCascone
-
RE: ProGet: silent fail when uploading conflicting package version
-
RE: ProGet: silent fail when uploading conflicting package version
it is pushing from Jenkins, using the official extension and an API token. The token is registered to a user with admin rights, although i'll have to double-check that.
What is the expected behavior?
Thanks! -
ProGet: silent fail when uploading conflicting package version
I've found that if i push a package with a version matching an existing version, the push will not happen, but ProGet doesn't send back any kind of warning or notification that the push did not succeed. So I'm building a thing to pull the latest version number from Proget and check prior to uploading, but it'd be nice if there was a way to get ProGet to alarm if a command doesn't succeed. Are there optional switches I can enable to do this?
-
RE: breaking forward slash inserted in downloadprogetpackage jenkins plugin
@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
-
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'