import groovy.transform.Field @Field String STEP_NAME = getClass().getName() void call(Map parameters = [:]) { handlePipelineStepErrors (stepName: STEP_NAME, stepParameters: parameters) { def cred = [ type: 'usernamePassword', id: 'malwareScanCredentialsId', env: ['PIPER_username', 'PIPER_password'] ] piperExecuteBin parameters, STEP_NAME, "metadata/${STEP_NAME}.yaml", [cred] } }