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

Update SetupCommonPipelineEnvironmentTest.groovy

This commit is contained in:
Christopher Fenner 2018-03-02 10:57:50 +01:00 committed by GitHub
parent e38eda33a7
commit d10b94a166
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,6 +14,8 @@ import static org.junit.Assert.assertEquals
import static org.junit.Assert.assertNotNull import static org.junit.Assert.assertNotNull
class SetupCommonPipelineEnvironmentTest extends BasePipelineTest { class SetupCommonPipelineEnvironmentTest extends BasePipelineTest {
def usedConfigFile
private JenkinsStepRule jsr = new JenkinsStepRule(this) private JenkinsStepRule jsr = new JenkinsStepRule(this)
private JenkinsEnvironmentRule jer = new JenkinsEnvironmentRule(this) private JenkinsEnvironmentRule jer = new JenkinsEnvironmentRule(this)
@ -23,8 +25,6 @@ class SetupCommonPipelineEnvironmentTest extends BasePipelineTest {
.around(jsr) .around(jsr)
.around(jer) .around(jer)
def usedConfigFile
@Before @Before
void init() { void init() {
def examplePipelineConfig = new File('test/resources/test_pipeline_config.yml').text def examplePipelineConfig = new File('test/resources/test_pipeline_config.yml').text