Skip to content

Commit 704057f

Browse files
committed
code snippet trimmed to just bare minimum
1 parent a076ca4 commit 704057f

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

declarative-examples/simple-examples/dockercontainerPort.groovy

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
11
pipeline {
2-
agent any
3-
4-
options {
5-
timestamps()
6-
}
72

83
environment {
94
IMAGE = "custom-tutum"
105
}
116

7+
agent 'node-where-docker-commands-can-be-run'
8+
129
stages {
1310
stage('build') {
1411
steps {
@@ -42,9 +39,4 @@ pipeline {
4239
}
4340
}
4441
}
45-
post {
46-
always {
47-
cleanWs()
48-
}
49-
}
5042
}

0 commit comments

Comments
 (0)