Yes, it can be done. POST to the build queue service: https://developer.atlassian.com/server/bamboo/bamboo-rest-resources/#BambooRESTResources-BuildQueueService
Is there a REST endpoint to kick off a Bamboo build?
-
16-07-2023 - |
Frage
I am trying to see how I might use wget
or curl
to kick off a Bamboo plan's build. I looked at their REST API docs and it doesn't seem to be an exposed endpoint. Is this possible or does Bamboo discourage REST-based builds?
Lösung
Andere Tipps
You may use curl to trigger a build like below:
curl -X POST --user admin:admin http://host:8085/rest/api/latest/queue/PLAN-KEY?os_authType=basic
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow