Data Directory
The data directory, sometimes referred to as $PULSE_DATA, is where your pulse™ server stores all data, including:
- All pulse™ configuration data.
- Project build files, such as captured artifacts.
- Temporary build data, such as the directories in which recipes are executed.
This directory may be stored anywhere on the host machine. It is best to keep this directory separate to the home directory, so that it can be easily backed up and/or upgraded to a new version of pulse™.
Location
The location of the data directory is specified by the pulse.data property in the server configuration file (which is itself located at $HOME/.pulse2[-agent]/config.properties by default). When no server configuration file exists, or it does not specify the pulse.data property, the data directory is determined as follows:
- For the master, you will be prompted to enter the location via the web interface. This is the same prompt you see when starting pulse™ for the first time.
- For an agent, the location defaults to $HOME/.pulse2-agent/data