Specifies where Jenkins will store workspaces for builds that are executed
on the master.
It has no effect on builds that are executed on agents.
This value may include the following variables:
- ${JENKINS_HOME} — Absolute path of the Jenkins home
directory
- ${ITEM_ROOTDIR} — Absolute path of the directory
where Jenkins stores the configuration and related metadata for a
given job
- ${ITEM_FULL_NAME} — The full name of a given job,
which may be slash-separated, e.g. foo/bar for the job
bar in folder foo
The value should normally include ${ITEM_ROOTDIR} or
${ITEM_FULL_NAME}, otherwise different jobs will end up sharing the
same workspace.
As builds tend to be disk I/O intensive, changing this value enables you to
put build workspaces on faster storage hardware, such as SSDs or even RAM
disks.
Any changes to this value will take effect as soon as this configuration
page is saved, but note that Jenkins will not automatically migrate any data
from the current workspace root directory.
The default value is ${JENKINS_HOME}/workspace/${ITEM_FULLNAME}.