I am able to choose the dedicated agent using job requirement in the manual plan but as I am running the plan using spec I need to give the job requirements in the bamboo spec to use dedicated agent
Thanks in advance
You can achieve this with the 'requirements' parameter of a job definition, which is available as Job.requirements in Bamboo Specs (Java), and job.requirements in Bamboo Specs (YAML) - here's the Java example:
Job job = new Job("My Job", "JOB1") .tasks(tasks) .artifacts(testReportArtifact) .artifactSubscriptions(warArtifact) .requirements(osLinux);
G’day Community! As we gear up to introduce Bamboo Data Center to the world, we wanted to make sure that we shared a bit more about Bamboo, the product. Our team has put together an overview video ...
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