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