github.com/ouraigua/jenkins-library@v0.0.0-20231028010029-fbeaf2f3aa9b/vars/apiKeyValueMapDownload.groovy (about) 1 import groovy.transform.Field 2 3 @Field String STEP_NAME = getClass().getName() 4 @Field String METADATA_FILE = 'metadata/apiKeyValueMapDownload.yaml' 5 6 void call(Map parameters = [:]) { 7 List credentials = [ 8 [type: 'token', id: 'apimApiServiceKeyCredentialsId', env: ['PIPER_apiServiceKey']] 9 ] 10 piperExecuteBin(parameters, STEP_NAME, METADATA_FILE, credentials) 11 }