1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2025-10-30 23:57:50 +02:00

No such property: commonPipelineEnvironment for class: com.sap.piper.cm.StepHelpers (#3132)

Fix Issue 3131
This commit is contained in:
Roland Stengel
2021-09-29 17:50:45 +02:00
committed by GitHub
parent d6940fba8d
commit 1e20fbb6a7
2 changed files with 5 additions and 3 deletions

View File

@@ -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

View File

@@ -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)