You've already forked sap-jenkins-library
mirror of
https://github.com/SAP/jenkins-library.git
synced 2025-11-06 09:09:19 +02:00
Fix mta buildtool error (#4243)
* Fix indentation * Fix type * Exclude mta build tool from throwing error * Update log message * Add test case
This commit is contained in:
committed by
GitHub
parent
7e7182d3fe
commit
1536362a50
@@ -127,6 +127,18 @@ class PiperPipelineStageInitTest extends BasePiperTest {
|
||||
)
|
||||
|
||||
}
|
||||
|
||||
@Test
|
||||
void testInitMtaBuildToolDoesNotThrowException() {
|
||||
|
||||
jsr.step.piperPipelineStageInit(
|
||||
script: nullScript,
|
||||
juStabUtils: utils,
|
||||
buildTool: 'mta',
|
||||
stashSettings: 'com.sap.piper/pipeline/stashSettings.yml'
|
||||
)
|
||||
assertThat(stepsCalled, hasItems('checkout', 'setupCommonPipelineEnvironment', 'piperInitRunStageConfiguration', 'artifactPrepareVersion', 'pipelineStashFilesBeforeBuild'))
|
||||
}
|
||||
|
||||
@Test
|
||||
void testInitDefault() {
|
||||
|
||||
Reference in New Issue
Block a user