You've already forked sap-jenkins-library
mirror of
https://github.com/SAP/jenkins-library.git
synced 2025-06-15 00:05:11 +02:00
34 lines
680 B
Markdown
34 lines
680 B
Markdown
![]() |
# setConfigProperties
|
||
|
|
||
|
## Description
|
||
|
Sets the map of configuration properties stored in the `commonPipelineEnvironment` object.
|
||
|
Any existing `configProperties` map is overwritten.
|
||
|
|
||
|
## Parameters
|
||
|
|
||
|
| parameter | mandatory | default | possible values |
|
||
|
| ----------|-----------|---------|-----------------|
|
||
|
| `map` | yes | | |
|
||
|
|
||
|
* `map` - the map of configuration properties to set in the `commonPipelineEnvironment` object.
|
||
|
|
||
|
## Return values
|
||
|
|
||
|
none
|
||
|
|
||
|
## Side effects
|
||
|
|
||
|
none
|
||
|
|
||
|
## Exceptions
|
||
|
|
||
|
none
|
||
|
|
||
|
## Example
|
||
|
|
||
|
```groovy
|
||
|
def map = [DEPLOY_HOST: 'deploy-host.com', DEPLOY_ACCOUNT: 'deploy-account']
|
||
|
commonPipelineEnvironment.setConfigProperties(map)
|
||
|
```
|
||
|
|