Re: Get User that approved a promotion

2014-03-07 Thread Benny Hofmann
You could use the Rest API, you will need to know the promotion build number: /job//promotion/process///api/json?pretty=true -> causes.userName Am Sonntag, 22. Dezember 2013 14:20:24 UTC+1 schrieb alex ouzounis: > > Hi all, > > Is there a way to get the user that promoted a build programmatical

Re: Groovy task to promote job via Promoted Builds Plugin

2014-03-07 Thread Benny Hofmann
Hi, I have not found a way to solely trigger a promotion via a groovy script. However you are able to trigger a build and give a parameter with which a promotion will be triggered after the build is through. You will have to check "Promote immediately once the build is complete based on build pa