Daniel Mish edited a comment on Bug JENKINS-27548

This command I is throwing the above error:

curl --user ${USERNAME}:${PASSWORD} --data-binary "@${destProject}-config.xml" "${JENKINS_URL}/job/${destProject}/config.xml"

This was working previous to 1.602.

Based on some other issues, I did also include "?name=${destProject}" at the end of the url, tried a "-X POST", set the mime-type and other things. I always get the same error.

This occurs directly after other successful calls in my script, including the command that creates the job the script is trying to update:


curl --user ${USERNAME}:${PASSWORD} -s -o /dev/null --data " " "${JENKINS_URL}/createItem?name=${destProject}&mode=copy&from=${project}

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