mirror of
https://github.com/SAP/jenkins-library.git
synced 2025-02-05 13:25:19 +02:00
fix: correct step parameters (unknown parameters found) (#1093)
* fix: correct step invocations (WARNING: Unknown parameter(s) found for class) * fix: correct step invocations (WARNING: Unknown parameter(s) found for class)
This commit is contained in:
parent
686235613c
commit
53317222a3
@ -44,11 +44,11 @@ def stashList(script, List stashes) {
|
||||
lock(lockName) {
|
||||
unstash stash.name
|
||||
echo "Stash content: ${name} (include: ${include}, exclude: ${exclude})"
|
||||
steps.stash name: name, includes: include, exclude: exclude, allowEmpty: true
|
||||
steps.stash name: name, includes: include, excludes: exclude, allowEmpty: true
|
||||
}
|
||||
} else {
|
||||
echo "Stash content: ${name} (include: ${include}, exclude: ${exclude})"
|
||||
steps.stash name: name, includes: include, exclude: exclude, allowEmpty: true
|
||||
steps.stash name: name, includes: include, excludes: exclude, allowEmpty: true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -76,7 +76,7 @@ void call(Map parameters = [:]) {
|
||||
Map options = [:]
|
||||
if(config.credentialsId)
|
||||
options.put('tokenCredentialId', config.credentialsId)
|
||||
for(String entry : STEP_CONFIG_KEYS.minus('credentialsId'))
|
||||
for(String entry : ['baseUrl','channel','color','message'])
|
||||
if(config.get(entry))
|
||||
options.put(entry, config.get(entry))
|
||||
slackSend(options)
|
||||
|
Loading…
x
Reference in New Issue
Block a user