Skip to content

Commit 7eea959

Browse files
authored
Merge pull request #337 from kmanning/issue_331
Issue 331: terraform-pipeline should not fail if DockerPipeline plugin not installed
2 parents 2f84db9 + eb44809 commit 7eea959

File tree

3 files changed

+1
-4
lines changed

3 files changed

+1
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Unreleased
22

3+
* [Issue #331](https://github.com/manheim/terraform-pipeline/issues/331) Bug Fix: terraform-pipeline should be usable even if Docker-Pipeline-plugin is not installed (and Docker featuers are not used)
34
* [Issue #335](https://github.com/manheim/terraform-pipeline/issues/335) Testing: Rename DummyJenkinsfile to MockWorkflowScript to better distinguish Jenkinsfile references.
45
* [Issue #271](https://github.com/manheim/terraform-pipeline/issues/271) Testing: Cleanup Test resets for any static state. New Resettable and ResetStaticStateExtension available.
56
* [Issue #332](https://github.com/manheim/terraform-pipeline/issues/332) Upgrade from Junit 4 to 5.7, upgrade hamcrest from 1.3 to 2.2, remove junit-hierarchicalcontextrunner dependency

src/Jenkinsfile.groovy

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
class Jenkinsfile implements Resettable {
22
public static original
3-
public static docker
43
public static defaultNodeName
54
public static repoSlug = null
65
public static instance = new Jenkinsfile()
@@ -56,7 +55,6 @@ class Jenkinsfile implements Resettable {
5655

5756
def static void init(original, Class customizations=null) {
5857
this.original = original
59-
this.docker = original.docker
6058

6159
initializeDefaultPlugins()
6260

@@ -134,7 +132,6 @@ class Jenkinsfile implements Resettable {
134132
instance = new Jenkinsfile()
135133
original = null
136134
defaultNodeName = null
137-
docker = null
138135
pipelineTemplate = null
139136
declarative = false
140137
}

test/AgentNodePluginTest.groovy

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,6 @@ class AgentNodePluginTest {
125125
AgentNodePlugin.withAgentDockerImageOptions(expectedOptions)
126126
def plugin = new AgentNodePlugin()
127127
def original = createOriginalSpy()
128-
original.docker = original
129128

130129
def agentClosure = plugin.addAgent()
131130
agentClosure.delegate = original

0 commit comments

Comments
 (0)