Hi,

Can I get some help on promoting a build using REST API with cURL command.
I have been successful in updating the status using the below syntax:

curl -X POST -u admin:password -H "Content-Type: application/json" -d
'{"status":"tests passed","ciUser":"jenkinsAdmin"}'
"http://localhost:8081/artifactory/api/build/promote/buildName/buildNumber";

But, unable to move the build from one repository to another. My aim to,
promote the build from one repository to another when I run the cURL command
with parameters. 

So that my build is moved to other repository and the status gets updated
too. 

Please Advice.



--
View this message in context: 
http://forums.jfrog.org/cURL-to-promote-a-build-using-REST-API-tp7578950.html
Sent from the Artifactory - Users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to