1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-14 11:03:09 +02:00

Merge pull request #222 from marcusholl/pr/fixRemoveEarlyCheckForChangeDocumentId

[fix] Remove early check for mandatory param 'changeDocumentId'
This commit is contained in:
Marcus Holl 2018-07-20 09:25:38 +02:00 committed by GitHub
commit 8563df62dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View File

@ -57,7 +57,7 @@ public class TransportRequestReleaseTest extends BasePiperTest {
}
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)
}

View File

@ -43,7 +43,6 @@ def call(parameters = [:]) {
.mixinStageConfig(script.commonPipelineEnvironment, parameters.stageName?:env.STAGE_NAME, stepConfigurationKeys)
.mixinStepConfig(script.commonPipelineEnvironment, stepConfigurationKeys)
.mixin(parameters, parameterKeys)
.withMandatoryProperty('changeDocumentId')
.withMandatoryProperty('endpoint')
Map configuration = configHelper.use()