Pipeline Project-Env

ID: pipeline-project-env

Build Status Jenkins Plugin Jenkins Plugin Installs

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

See contribution guidelines

Changelog

See releases