This content has been included from the pipeline-project-env-plugin Github repository.
Pipeline Project-Env Plugin
Introduction
This plugin allows you to use Project-Env within Jenkins pipelines. See Project-Env for more details.
Getting started
node {
withProjectEnv(
// The Project-Env CLI version which should be used.
cliVersion: string,
// Whether to activate the debug mode in the Project-Env CLI.
// If not configured, the debug mode will be deactivated.
cliDebug: boolean,
// The path to the Project-Env CLI configuration file.
// If not configured, project-env.toml will be used.
configFile: string
) {
// ...
}
}
Example
node {
withProjectEnv(cliVersion: '3.4.0') {
// ...
}
}
Contributing
Changelog
See releases