Closed muchino closed 7 years ago
@muchino Hi, I think the problem here is that the seed task was executed on a remote agent (i.e., elastic agent) which is not supported by the plug-in because all the important services to create plans, jobs, etc. are only available on local (server) agents. Could that be the problem?
Hi Michael
You are totally right - it was executed on an elastic agent - my fault. I configured the Default Bamboo Agent to be responsible for the Plan DSL Jobs - Thank you :)
Hi Oli,
You're very welcome. Glad to here that it is working now :-)
Does that mean that in order to use DSL on any jobs, those jobs have to run on the server's agent? Can just the seed task run on a server agent but the rest of the job on a remote agent?
@danhiris Only the job which has the seed task needs to run on a local Bamboo server. All other jobs can run on (remote) agents.
AFAIK it is not possible to run only certain tasks on the server but others of the same job on a remote agent. All tasks of the job are run on the same agent.
@mrueegg Not sure I understand. I define my groovy dsl file in the seed task of the job but then I want the tasks defined by it to run on remote agents. Will they be able to run on remote agents even though I ran the seed task on the server? Aren't those tasks part of the same job?
@danhiris Only the seed task needs to run on the local server. All the jobs and tasks you create with the DSL can then be run on the remote agent. They are not part of the same job. Normally, you would have a separate build plan for the seed task. This plan is only executed when you change the DSL. The plans and jobs the plug-in creates from the DSL are completely separate. Does that answer your question?
@mrueegg yes, clear as mud. Was thinking about it wrong.
Hi Michael
is there a new issue with in Bamboo 6.0.0 with the newest version of our add-on.
The following error only happens in one project where we execute PLanDSL, other Plans are working but they are doing the same - the test plan just executes the plan definition for one sandbox project.
Any ideas?