This commit is contained in:
Vendored
+5
-2
@@ -1,8 +1,11 @@
|
||||
pipeline {
|
||||
agent any
|
||||
|
||||
tools {
|
||||
dockerTool 'Docker'
|
||||
agent {
|
||||
docker {
|
||||
image 'node:16-alpine' // Use an image with Node.js and Docker installed
|
||||
args '-u root -v /var/run/docker.sock:/var/run/docker.sock' // Mount Docker socket
|
||||
}
|
||||
}
|
||||
|
||||
environment {
|
||||
|
||||
Reference in New Issue
Block a user