mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-12 10:55:20 +02:00
8e74952166
* Switch Detect scan to golang implementation * update workingDir * use universal container as default * Switch to official curl image * fix code climate issue * switch default image * update docker options * update CommonStepsTest * remove invalid groovy test * clean up defaults Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>
12 lines
351 B
Groovy
12 lines
351 B
Groovy
import groovy.transform.Field
|
|
|
|
@Field String STEP_NAME = getClass().getName()
|
|
@Field String METADATA_FILE = 'metadata/detect.yaml'
|
|
|
|
void call(Map parameters = [:]) {
|
|
List credentials = [
|
|
[type: 'token', id: 'detectTokenCredentialsId', env: ['PIPER_apiToken']]
|
|
]
|
|
piperExecuteBin(parameters, STEP_NAME, METADATA_FILE, credentials)
|
|
}
|