This plugin allows you to use Project-Env within Jenkins pipelines. See Project-Env for more details.
pipeline {
agent {
// ...
}
options {
withProjectEnv()
}
stages {
// ...
}
}
node {
withProjectEnv() {
// ...
}
}
Name | Description |
---|---|
cliVersion |
The Project-Env CLI version which should be used. If not configured, the latest version will be resolved automatically. If the Project-Env CLI is already installed (resolved through PATH ), the plugin will use this version instead. |
cliDebug |
Whether to activate the debug mode in the Project-Env CLI. If not configured, the debug mode will be deactivated. |
configFile |
The path to the Project-Env CLI configuration file. If not configured, project-env.toml will be used. |
node {
withProjectEnv(cliVersion: '3.4.0') {
// ...
}
}
See releases