Hi ,
I am new to bamboo and writing a plugin which will show the time taken by each task in job and status of the task in current build .
Currently I am using below line of code to get the TaskDefinition ,but no luck to get start time, end time and status of task from task definition.
List<? extends ImmutableChainStage> stages = getChainResultsSummary().getImmutablePlan().getStages();
ImmutableChainStage stage=stages.get(0);
Set<? extends ImmutableJob> jobs= stage.getJobs();
ImmutableJob job=jobs.iterator().next();
TaskDefinition task= job.getTaskDefinitions().get(0);
Please suggest the correct java api for bamboo.
Thanks
Hello @Lipun
Have you gave a look at Bamboo API docs? Also, I think this question is best suited for the Developer community at https://community.developer.atlassian.com/c/bamboo-development
Did that help? :)
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.