This plugin enables you to set environment variables via a file. The file's format must be the standard Java property file format.
Superseded by the EnvInject Plugin?
The property file is always retrieved from the file system of the Jenkins master node, even in distributed setups with slave nodes.
You can reference already defined environment variables both to specify the path to the property file, in a job's configuration, and in property values, in the property file.
When referencing properties you must always use the syntax $EnvVarName, regardless of the operating system where Jenkins is running.
Here is an example of a property reference in EnvFile's configuration:
Note: You can reference environment variables already defined by the SetEnv plugin.
Skip to end of metadata Go to start of metadata