mirror of
https://github.com/SAP/jenkins-library.git
synced 2025-01-22 05:33:10 +02:00
Merge pull request #222 from marcusholl/pr/fixRemoveEarlyCheckForChangeDocumentId
[fix] Remove early check for mandatory param 'changeDocumentId'
This commit is contained in:
commit
8563df62dd
@ -57,7 +57,7 @@ public class TransportRequestReleaseTest extends BasePiperTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
thrown.expect(IllegalArgumentException)
|
thrown.expect(IllegalArgumentException)
|
||||||
thrown.expectMessage("ERROR - NO VALUE AVAILABLE FOR changeDocumentId")
|
thrown.expectMessage("Change document id not provided (parameter: 'changeDocumentId' or via commit history).")
|
||||||
|
|
||||||
jsr.step.call(script: nullScript, transportRequestId: '001', cmUtils: cm)
|
jsr.step.call(script: nullScript, transportRequestId: '001', cmUtils: cm)
|
||||||
}
|
}
|
||||||
|
@ -43,7 +43,6 @@ def call(parameters = [:]) {
|
|||||||
.mixinStageConfig(script.commonPipelineEnvironment, parameters.stageName?:env.STAGE_NAME, stepConfigurationKeys)
|
.mixinStageConfig(script.commonPipelineEnvironment, parameters.stageName?:env.STAGE_NAME, stepConfigurationKeys)
|
||||||
.mixinStepConfig(script.commonPipelineEnvironment, stepConfigurationKeys)
|
.mixinStepConfig(script.commonPipelineEnvironment, stepConfigurationKeys)
|
||||||
.mixin(parameters, parameterKeys)
|
.mixin(parameters, parameterKeys)
|
||||||
.withMandatoryProperty('changeDocumentId')
|
|
||||||
.withMandatoryProperty('endpoint')
|
.withMandatoryProperty('endpoint')
|
||||||
|
|
||||||
Map configuration = configHelper.use()
|
Map configuration = configHelper.use()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user