github.com/jaylevin/jenkins-library@v1.230.4/vars/integrationArtifactUpdateConfiguration.groovy (about)

     1  import groovy.transform.Field
     2  
     3  @Field String STEP_NAME = getClass().getName()
     4  @Field String METADATA_FILE = 'metadata/integrationArtifactUpdateConfiguration.yaml'
     5  
     6  void call(Map parameters = [:]) {
     7      List credentials = [
     8          [type: 'token', id: 'cpiApiServiceKeyCredentialsId', env: ['PIPER_apiServiceKey']]
     9      ]
    10      piperExecuteBin(parameters, STEP_NAME, METADATA_FILE, credentials)
    11  }