| I haven't been able to duplicate this issue on my setup - the best I have come up with is to get a 400 level errors when I put in invalid parameters for ProGet. Can you create a new pipeline with the following code (you may need to tweak some values) as this works for me, I just want to understand if it's a problem with what you are sending or an access issue. {{pipeline { agent any}}{{ stages { stage('Main') { steps { bat '''DEL *.TXT /Q if not exist "subfolder" mkdir subfolder DEL *.upack /Q ECHO Build Tag: %BUILD_TAG% > subfolder/Example.txt''' script { VERSION = "1.1.${BUILD_NUMBER}" } echo "version = '${VERSION}'" uploadProgetPackage artifacts: 'subfolder/Example.txt', feedName: 'Example', groupName: 'jenkins/pipleline', packageName: 'JenkinsPackage', version: "${VERSION}" } } } } }} Sorry I don't have a better answer for you, however I'm sure we can get to the bottom of this. Is there anything else you can tell me about your setup - ProGet or the Jenkins build? eg:
- I assume they are on the same network - no firewalls in they way
- Is the jenkins job running on an agent or on the Jenkins master node
- ?
|