REST API for promoting builds

489 views
Skip to first unread message

bedge

unread,
Jan 17, 2014, 2:55:16 AM1/17/14
to jenkins...@googlegroups.com
I read a lot of people talking about the REST API for build promotion, but I
can't find any documentation on it.

What is the URL/API for forcing a job promotion?




--
View this message in context: http://jenkins-ci.361315.n4.nabble.com/REST-API-for-promoting-builds-tp4687670.html
Sent from the Jenkins users mailing list archive at Nabble.com.

Marnix Klooster

unread,
Feb 17, 2014, 10:44:07 AM2/17/14
to jenkins...@googlegroups.com
On Friday, January 17, 2014 8:55:16 AM UTC+1, Bruce Edge wrote:
I read a lot of people talking about the REST API for build promotion, but I
can't find any documentation on it.

What is the URL/API for forcing a job promotion?

I second that question-- how to do this?  is there any documentation on the REST API for Jenkins Promoted Builds Plugin?

Thanks!

Groetjes,
 <><
Marnix

John Vacz

unread,
Feb 18, 2014, 3:54:10 AM2/18/14
to jenkins...@googlegroups.com
This is also what I am missing for a long time. I had the impression that promoted build being a second-class job, there are some features exposed by REST API but not complete. It would be very nice if performing/copying/creating/removing a promotion could be fully supported by REST API, cli and sshd interfaces.
I wanted to implement a web frontend for our non-technical users (Jenkins GUI is not necessarily intuitive for them), using Jenkins (solely) as a backend engine via remote API, the only missing part is performing promotion and retrieving promotion information. At the moment I have to parse various promotion pages to  gather the informations as a workaround.
Hopefully this discussion can draw some attetion in this direction.

[1] https://issues.jenkins-ci.org/browse/JENKINS-8963
[2] https://issues.jenkins-ci.org/browse/JENKINS-15947
[3] https://issues.jenkins-ci.org/browse/JENKINS-9259
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply all
Reply to author
Forward
0 new messages