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