1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2025-01-04 04:07:16 +02:00

remove obsolete parameter

This commit is contained in:
Christopher Fenner 2018-06-27 10:02:02 +02:00 committed by GitHub
parent bc84497b24
commit 7058661f9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,7 +10,6 @@ import groovy.transform.Field
@Field Set STEP_CONFIG_KEYS = GENERAL_CONFIG_KEYS.plus([
'buildDescriptorFile',
'dockerImage',
'dockerWorkspace',
'exclude',
'monitor',
'scanType',
@ -33,7 +32,6 @@ def call(Map parameters = [:]) {
.mixin(parameters, PARAMETER_KEYS)
// check mandatory paramerers
.withMandatoryProperty('dockerImage')
.withMandatoryProperty('dockerWorkspace')
.withMandatoryProperty('snykCredentialsId')
.use()
@ -59,7 +57,6 @@ def call(Map parameters = [:]) {
)]) {
dockerExecute(
dockerImage: config.dockerImage,
dockerWorkspace: config.dockerWorkspace,
stashContent: config.stashContent,
dockerEnvVars: ['SNYK_TOKEN': token]
) {