mirror of
https://github.com/SAP/jenkins-library.git
synced 2026-06-19 22:58:55 +02:00
Do not hand over reference to step itself
needs to be the reference as it is available by script
This commit is contained in:
@@ -97,7 +97,7 @@ void call(parameters = [:]) {
|
||||
new Utils().pushToSWA([step: STEP_NAME,
|
||||
stepParam1: parameters?.script == null], configuration)
|
||||
|
||||
def changeId = getChangeDocumentId(cm, this, configuration)
|
||||
def changeId = getChangeDocumentId(cm, script, configuration)
|
||||
|
||||
configuration = configHelper.mixin([changeDocumentId: changeId?.trim() ?: null], ['changeDocumentId'] as Set)
|
||||
|
||||
|
||||
@@ -68,7 +68,7 @@ void call(parameters = [:]) {
|
||||
|
||||
if(backendType == BackendType.SOLMAN) {
|
||||
|
||||
changeDocumentId = getChangeDocumentId(cm, this, configuration)
|
||||
changeDocumentId = getChangeDocumentId(cm, script, configuration)
|
||||
|
||||
configHelper.mixin([changeDocumentId: changeDocumentId?.trim() ?: null], ['changeDocumentId'] as Set)
|
||||
.withMandatoryProperty('developmentSystemId')
|
||||
|
||||
@@ -62,11 +62,11 @@ void call(parameters = [:]) {
|
||||
stepParam1: parameters?.script == null], configuration)
|
||||
|
||||
def changeDocumentId = null
|
||||
def transportRequestId = getTransportRequestId(cm, this, configuration)
|
||||
def transportRequestId = getTransportRequestId(cm, script, configuration)
|
||||
|
||||
if(backendType == BackendType.SOLMAN) {
|
||||
|
||||
changeDocumentId = getChangeDocumentId(cm, this, configuration)
|
||||
changeDocumentId = getChangeDocumentId(cm, script, configuration)
|
||||
|
||||
configHelper.mixin([changeDocumentId: changeDocumentId?.trim() ?: null], ['changeDocumentId'] as Set)
|
||||
.withMandatoryProperty('changeDocumentId',
|
||||
|
||||
@@ -68,10 +68,10 @@ void call(parameters = [:]) {
|
||||
def changeDocumentId = null
|
||||
|
||||
if(backendType == BackendType.SOLMAN) {
|
||||
changeDocumentId = getChangeDocumentId(cm, this, configuration)
|
||||
changeDocumentId = getChangeDocumentId(cm, script, configuration)
|
||||
}
|
||||
|
||||
def transportRequestId = getTransportRequestId(cm, this, configuration)
|
||||
def transportRequestId = getTransportRequestId(cm, script, configuration)
|
||||
|
||||
configHelper
|
||||
.mixin([changeDocumentId: changeDocumentId?.trim() ?: null,
|
||||
|
||||
Reference in New Issue
Block a user