mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-11-24 08:32:32 +02:00
1259a32de1
* originHash * analysis output * first shot * add cert logon to piper http client * allow initial user/pw for certificate logon * credentials -> parameters * encode user cert in pem * key as well * fix unit tests after merge * other aakaas steps * 2nd conn in register packages
14 lines
712 B
Groovy
14 lines
712 B
Groovy
import groovy.transform.Field
|
|
|
|
@Field String STEP_NAME = getClass().getName()
|
|
@Field String METADATA_FILE = 'metadata/abapAddonAssemblyKitReserveNextPackages.yaml'
|
|
|
|
void call(Map parameters = [:]) {
|
|
List credentials = [
|
|
[type: 'usernamePassword', id: 'abapAddonAssemblyKitCredentialsId', env: ['PIPER_username', 'PIPER_password']],
|
|
[type: 'token', id: 'abapAddonAssemblyKitCertificateFileCredentialsId', env: ['PIPER_abapAddonAssemblyKitCertificateFile']],
|
|
[type: 'token', id: 'abapAddonAssemblyKitCertificatePassCredentialsId', env: ['PIPER_abapAddonAssemblyKitCertificatePass']]
|
|
]
|
|
piperExecuteBin(parameters, STEP_NAME, METADATA_FILE, credentials, false, false, true)
|
|
}
|