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 Bamboo customers, Bamboo DC 8.1 is now available with it the following features and programs: SAML 2.0, OpenID Connect, and Crowd SSO In order to help admins with a simplified user manage...
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