When a build is triggered by Polling, Build Now or an external Action, the workspace will sync only to the specified label. Any other specified change or label will be ignored.
Variable substitution can be used by specifying ${VARIABLE} variables.
Variables can be taken from the Jenkins Environment