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);
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.