mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-14 11:03:09 +02:00
remove unused cpe
This commit is contained in:
parent
9cb6f53678
commit
4aa4a1d2f5
@ -60,8 +60,7 @@ public class MTABuildTest extends BasePipelineTest {
|
|||||||
|
|
||||||
new File("${currentDir}/mta.yaml") << defaultMtaYaml()
|
new File("${currentDir}/mta.yaml") << defaultMtaYaml()
|
||||||
|
|
||||||
def mtarFilePath = mtaBuildScript.call(script: [commonPipelineEnvironment: cpe],
|
def mtarFilePath = mtaBuildScript.call(buildTarget: 'NEO')
|
||||||
buildTarget: 'NEO')
|
|
||||||
|
|
||||||
assert jscr.shell[0] =~ /sed -ie "s\/\\\$\{timestamp\}\/`date \+%Y%m%d%H%M%S`\/g" ".*\/mta.yaml"$/
|
assert jscr.shell[0] =~ /sed -ie "s\/\\\$\{timestamp\}\/`date \+%Y%m%d%H%M%S`\/g" ".*\/mta.yaml"$/
|
||||||
|
|
||||||
@ -113,7 +112,7 @@ public class MTABuildTest extends BasePipelineTest {
|
|||||||
|
|
||||||
helper.registerAllowedMethod('pwd', [], { newDirPath } )
|
helper.registerAllowedMethod('pwd', [], { newDirPath } )
|
||||||
|
|
||||||
def mtarFilePath = mtaBuildScript.call(script: [commonPipelineEnvironment: cpe], buildTarget: 'NEO')
|
def mtarFilePath = mtaBuildScript.call(buildTarget: 'NEO')
|
||||||
|
|
||||||
assert jscr.shell[0] =~ /sed -ie "s\/\\\$\{timestamp\}\/`date \+%Y%m%d%H%M%S`\/g" ".*\/newDir\/mta.yaml"$/
|
assert jscr.shell[0] =~ /sed -ie "s\/\\\$\{timestamp\}\/`date \+%Y%m%d%H%M%S`\/g" ".*\/newDir\/mta.yaml"$/
|
||||||
|
|
||||||
@ -131,7 +130,7 @@ public class MTABuildTest extends BasePipelineTest {
|
|||||||
|
|
||||||
new File("${currentDir}/mta.yaml") << defaultMtaYaml()
|
new File("${currentDir}/mta.yaml") << defaultMtaYaml()
|
||||||
|
|
||||||
def mtarFilePath = mtaBuildScript.call(script: [commonPipelineEnvironment: cpe], buildTarget: 'NEO')
|
def mtarFilePath = mtaBuildScript.call(buildTarget: 'NEO')
|
||||||
|
|
||||||
assert jscr.shell[0] =~ /sed -ie "s\/\\\$\{timestamp\}\/`date \+%Y%m%d%H%M%S`\/g" ".*\/mta.yaml"$/
|
assert jscr.shell[0] =~ /sed -ie "s\/\\\$\{timestamp\}\/`date \+%Y%m%d%H%M%S`\/g" ".*\/mta.yaml"$/
|
||||||
|
|
||||||
@ -168,8 +167,7 @@ public class MTABuildTest extends BasePipelineTest {
|
|||||||
public void noMtaPresentTest(){
|
public void noMtaPresentTest(){
|
||||||
thrown.expect(FileNotFoundException)
|
thrown.expect(FileNotFoundException)
|
||||||
|
|
||||||
mtaBuildScript.call(script: [commonPipelineEnvironment: cpe],
|
mtaBuildScript.call(buildTarget: 'NEO')
|
||||||
buildTarget: 'NEO')
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -180,8 +178,7 @@ public class MTABuildTest extends BasePipelineTest {
|
|||||||
|
|
||||||
new File("${currentDir}/mta.yaml") << badMtaYaml()
|
new File("${currentDir}/mta.yaml") << badMtaYaml()
|
||||||
|
|
||||||
mtaBuildScript.call(script: [commonPipelineEnvironment: cpe],
|
mtaBuildScript.call(buildTarget: 'NEO')
|
||||||
buildTarget: 'NEO')
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -192,8 +189,7 @@ public class MTABuildTest extends BasePipelineTest {
|
|||||||
|
|
||||||
new File("${currentDir}/mta.yaml") << noIdMtaYaml()
|
new File("${currentDir}/mta.yaml") << noIdMtaYaml()
|
||||||
|
|
||||||
mtaBuildScript.call(script: [commonPipelineEnvironment: cpe],
|
mtaBuildScript.call(buildTarget: 'NEO')
|
||||||
buildTarget: 'NEO')
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -204,7 +200,7 @@ public class MTABuildTest extends BasePipelineTest {
|
|||||||
|
|
||||||
new File("${currentDir}/mta.yaml") << defaultMtaYaml()
|
new File("${currentDir}/mta.yaml") << defaultMtaYaml()
|
||||||
|
|
||||||
mtaBuildScript.call(script: [commonPipelineEnvironment: cpe])
|
mtaBuildScript.call()
|
||||||
}
|
}
|
||||||
|
|
||||||
private defaultMtaYaml(){
|
private defaultMtaYaml(){
|
||||||
|
Loading…
Reference in New Issue
Block a user