Modifying Jenkins configuration from the command line

You may be wondering about the XML files at the top level of the Jenkins workspace. These are configuration files. config.xml is the main one, dealing with the default server values, but there are also specific ones for any plugins that have values set through the GUI.

There is also a jobs sub-directory underneath the workspace. Each individual Job configuration is contained in a sub-directory with the same name as the Job. The Job-specific configuration is then stored in config.xml within the sub-directory. There is a similar situation for the user's directory with one sub-directory per user, with the user information stored in its own config.xml file.

Under a controlled situation, where all ...

Get Jenkins Continuous Integration Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.