Tag build with REST API
Hi,
I'm trying to tag a build using following string.
curl -v -u user:password --request POST --header "Content-Type: application/xml" --data "<tags><tag>xxx</tag></tags>" "http://localhost:81/httpAuth/app/rest/builds/id:39/tags/"
I am getting a 400 back saying the tag name should not be empty, which it is not.
What could be the issue here. Using 2017.2.3.
Thank you
Please sign in to leave a comment.
This one works!
curl -v -u user:password --request POST --header "Content-Type: application/xml" --data "<tags><tag name='xxx'/></tags>" "http://localhost:81/httpAuth/app/rest/builds/id:39/tags/"