Hi, I'm new to Bamboo tool and am from JAVA developer.
Can someone please help on the below...
As per my requirement, I need to create a Bamboo task and that task should invoke inhosue Rest API(http://host:port/api/......) (ZUUL API) to perform some business logic.
So, Where we have to mention a API URL in TASK and How Bomboo will invoke my API ?
Any way is there to achieve this?
Thanks,
Mareesh
You can use the "script" task and use curl or something similar to make the REST call. You can also have a custom script on a remote server and execute it from Bamboo.
@Jobin Kuruvilla [Adaptavist] Thanks..., Now as per my requirement i'm invoking a JOB from my java code and in that job have configured one of script task that task is invoking one of my rest API. Now that rest API is post call and it is expecting a input. Right now i have static values but i need to send request object from my java code.
How can i send a request object to bamboo to execute that particular task?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Maybe you can define them as build variables and set the variables while invoking the build?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.