Caolan
Caolan

Reputation: 148

Can Jenkins config.xml have a property file?

I'm looking to manage the config.xml files on our Jenkins servers with Puppet. However, there are very specific entries that are unique for each server such as jobs, folders, passwords, etc...

My question is whether or not Jenkins allows the import or including of properties defined in a different file much like how Ant does, which will allow us to manage the common entries in the config.xml, and extract the unique entries out to the properties file.

Upvotes: 2

Views: 452

Answers (1)

Zach Young
Zach Young

Reputation: 11188

I haven't tried this yet, but I just found this:

https://wiki.jenkins-ci.org/display/JENKINS/Config+File+Provider+Plugin

It looks like it's applied at the job-level only, and not at the global Jenkins level. Is that enough for your needs?

Upvotes: 1

Related Questions