mirror of
https://github.com/SAP/jenkins-library.git
synced 2025-01-04 04:07:16 +02:00
No such property: commonPipelineEnvironment for class: com.sap.piper.cm.StepHelpers (#3132)
Fix Issue 3131
This commit is contained in:
parent
d6940fba8d
commit
1e20fbb6a7
@ -106,7 +106,7 @@ public class StepHelpers {
|
||||
"to: ${configuration.changeManagement.git.to}]." +
|
||||
"transportRequestLabel: '${configuration.changeManagement.transportRequestLabel}']."
|
||||
|
||||
script.transportRequestReqIDFromGit(script: this,
|
||||
script.transportRequestReqIDFromGit(script: script,
|
||||
gitFrom: configuration.changeManagement.git.from,
|
||||
gitTo: configuration.changeManagement.git.to,
|
||||
transportRequestLabel: configuration.changeManagement.transportRequestLabel
|
||||
@ -148,7 +148,7 @@ public class StepHelpers {
|
||||
"to: ${configuration.changeManagement.git.to}, " +
|
||||
"changeDocumentLabel: '${configuration.changeManagement.changeDocumentLabel}']."
|
||||
|
||||
script.transportRequestDocIDFromGit(script: this,
|
||||
script.transportRequestDocIDFromGit(script: script,
|
||||
gitFrom: configuration.changeManagement.git.from,
|
||||
gitTo: configuration.changeManagement.git.to,
|
||||
changeDocumentLabel: configuration.changeManagement.changeDocumentLabel
|
||||
|
@ -242,7 +242,6 @@ void call(Map parameters = [:]) {
|
||||
|
||||
Map paramsUpload = [
|
||||
script: script,
|
||||
cmClientOpts: configuration.changeManagement.clientOpts?: [:],
|
||||
filePath: configuration.filePath,
|
||||
uploadCredentialsId: configuration.changeManagement.credentialsId,
|
||||
endpoint: configuration.changeManagement.endpoint,
|
||||
@ -251,6 +250,9 @@ void call(Map parameters = [:]) {
|
||||
transportRequestId: configuration.transportRequestId
|
||||
]
|
||||
|
||||
if(configuration.changeManagement.clientOpts) {
|
||||
paramsUpload.cmClientOpts = configuration.changeManagement.clientOpts
|
||||
}
|
||||
paramsUpload = addDockerParams(script, paramsUpload, configuration.changeManagement.solman?.docker)
|
||||
|
||||
transportRequestUploadSOLMAN(paramsUpload)
|
||||
|
Loading…
Reference in New Issue
Block a user