1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2025-03-03 15:02:35 +02:00

Update DockerExecuteTest.groovy

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

View File

@ -16,6 +16,10 @@ import static org.junit.Assert.assertTrue
import static org.junit.Assert.assertFalse
class DockerExecuteTest extends BasePipelineTest {
private DockerMock docker
int whichDockerReturnValue = 0
def bodyExecuted
private JenkinsLoggingRule jlr = new JenkinsLoggingRule(this)
private JenkinsStepRule jsr = new JenkinsStepRule(this)
private JenkinsEnvironmentRule jer = new JenkinsEnvironmentRule(this)
@ -26,10 +30,6 @@ class DockerExecuteTest extends BasePipelineTest {
.around(jlr)
.around(jsr)
private DockerMock docker
int whichDockerReturnValue = 0
def bodyExecuted
@Before
void init() {
bodyExecuted = false