2019-11-07 16:40:45 +02:00
|
|
|
import groovy.transform.Field
|
|
|
|
|
2020-05-05 15:21:59 +02:00
|
|
|
@Field String STEP_NAME = getClass().getName()
|
2020-02-04 12:43:27 +02:00
|
|
|
@Field String METADATA_FILE = 'metadata/abapEnvironmentPullGitRepo.yaml'
|
|
|
|
|
2019-11-07 16:40:45 +02:00
|
|
|
void call(Map parameters = [:]) {
|
2020-05-05 15:21:59 +02:00
|
|
|
List credentials = [
|
2020-05-14 19:17:47 +02:00
|
|
|
[type: 'usernamePassword', id: 'abapCredentialsId', env: ['PIPER_username', 'PIPER_password']]
|
2020-05-05 15:21:59 +02:00
|
|
|
]
|
|
|
|
piperExecuteBin(parameters, STEP_NAME, METADATA_FILE, credentials, false, false, true)
|
2019-11-07 16:40:45 +02:00
|
|
|
}
|