I am trying to write a bamboo task that on execution must invoke a POST on an inhouse REST API that will triggers a job.
I have just finished setting up a dev environment and executing the "write a task with UI" successfully.
Please suggest how can I invoke a third party rest API from within a task?
I come from a spring dev background, can I use something like a RestTemplate inside the task?
Thanks, Mukul
The Bamboo Java API provides a wrapper for the Apache HTTP Client in com.atlassian.bamboo.rest.utils. If you do need to use a library that you know better, just make sure to add the dependency to the plugin's pom.xml.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.