Can anyone help me with the api (post )for adding task (Script task) to deployment plan
I am trying to add it through bash script and also through java
Any leads will be helpful
Hi @Akshara Prasad,
I wish it was that simple and I could just provide you with a REST API endpoint for this.
Bamboo provides a way to add and remove tasks from deployments but only if your deployment is configured through specs. There is know public REST API endpoint only to add tasks.
If you don't know specs, I suggest you start with this document:
And run some tests with:
In Java specs the code part to create a script task in a deployment environment would be something like:
.description("My script task")
.inlineBody("echo \"Hello World\"")));
I hope that helps.
Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events