Skip to content

Commit 6f98d5c

Browse files
authored
Created JenkinsFile
1 parent 9178903 commit 6f98d5c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

projects/age-calculator/JenkinsFile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
pipeline {
2+
agent {
3+
docker {
4+
image 'abhishekf5/maven-abhishek-docker-agent:v1'
5+
args '--user root -v /var/run/docker.sock:/var/run/docker.sock' // mount Docker socket to access the host's Docker daemon
6+
}
7+
}
8+
}

0 commit comments

Comments
 (0)