Skip to content

Commit fee64c0

Browse files
committed
clean flow.groovy syntax
1 parent 642d4d9 commit fee64c0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

flow.groovy

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
node('docker') {
22
def hash = git url: "${GIT_URL}"
3-
def app = docker.build("${hash}") app.withRun {c ->
3+
def app = docker.build "${hash}"
4+
app.withRun {c ->
45
sh "docker logs -f ${c.id}"
56
}
67
}

0 commit comments

Comments
 (0)