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);
Hey there, Data Center community! I'm Martyna Wojtas and I am the Product Manager for Bamboo Data Center. I’m excited to share that Bamboo 9.0 is now available. We purpose-built this platform to help...