Is it possible to pin a build while it is running via the rest API?

I currently have a script to run the curl commands. Is it possible for the builds to be pinned WHILE the build is running?

If not, how would this be achieved through the REST calls or custom script in my build step?


1 comment
Comment actions Permalink

Hi Kevin

REST API supports build pinning.
Required build ID you can get in predefined system property.


Please sign in to leave a comment.