Hi Roberto, You don't need to specify the environment for the elastic agent profile. When you associate the elastic profile ID with the pipeline job, the elastic agent gets assigned to that pipeline environment.
For example, I don't have elastic agent profile mapped to any of the environment but have assigned that profile with a pipeline job which belongs to DEMO environment. Now once the pipeline is triggered, an elastic agent will come up with environment assigned as DEMO. [image: Screenshot 2019-03-19 at 13.19.41.png] Regards, Ankit On Tue, Mar 19, 2019 at 8:47 AM Roberto Yudice <[email protected]> wrote: > Hi, is it possible to associate an elastic agent profile to a gocd > environment so that I dont need to be setting up static agents for the > environment? the reason I need it to be associate to an environment is > because I have a lot of environment variables set at the environment level. > > Thanks > > -- > You received this message because you are subscribed to the Google Groups > "go-cd" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "go-cd" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
