Hello Tobias, You can find the discussion around this on: https://github.com/gocd/gocd/issues/911
To give you a brief: Agents were originally stored in the cruise-config.xml. Every time any change occurs, the whole config used to be updated. This takes up a lot of time considering bigger configs. Hence, we decided to move them to DB. Since, environments are still stored in the config - Addition of agent via environment API would have required a lock on both config and DB - which could have lead to all sorts of lock and rollback issues. Hence the decision to keep them separate. >From 19.9.0 onwards please use the Agents API ( https://api.gocd.org/current/#agents) to update the same. You can also do via UI from Agents Page and Environments Page. Hope this helps! Thanks Kritika -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/go-cd/bba0acc4-c9bb-4619-9e3e-cf6573ae95ac%40googlegroups.com.
