mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-14 11:03:09 +02:00
Merge pull request #87 from alejandraferreirovidal/addCustomConfigTest
add custom configuration test to NeoDeploymentTest
This commit is contained in:
commit
1e3c4d90e3
@ -194,6 +194,20 @@ class NeoDeploymentTest extends BasePipelineTest {
|
||||
}
|
||||
|
||||
|
||||
@Test
|
||||
void neoHomeFromCustomStepConfigurationTest() {
|
||||
|
||||
cpe.configuration = [steps:[neoDeploy: [host: 'test.deploy.host.com', account: 'trialuser123', neoHome: '/step/neo']]]
|
||||
|
||||
neoDeployScript.call(script: [commonPipelineEnvironment: cpe],
|
||||
archivePath: archiveName
|
||||
)
|
||||
|
||||
assert jscr.shell[0].contains('"/step/neo/tools/neo.sh" deploy-mta')
|
||||
assert jlr.log.contains('[neoDeploy] Neo executable "/step/neo/tools/neo.sh" retrieved from configuration.')
|
||||
}
|
||||
|
||||
|
||||
@Test
|
||||
void archiveNotProvidedTest() {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user