As there is sensitive code in the config.groovy file, I am afraid that my friends will commit with bugs in this file. When getting svn update, we too will get the buggy config code.
Can i split the code at config.groovy in such a way that the sensitive code remains untouched and the other can be changed frequently?
Similar to Marijn’s answer. This is how I usually set up my Config.groovy. I still use it for some settings, but anything environmentally (deployment location or individual machine) changing can override any settings in the Config.groovy.
Config.groovy >>>>
file:${userHome}/myapp-config/myapp-config.groovy >>>>