Testing dynamic Jenkinsfile
This commit is contained in:
parent
f6f84a61c8
commit
15980724d4
|
|
@ -1,2 +1,2 @@
|
|||
FROM docker:dind
|
||||
RUN apk add make gzip
|
||||
FROM debian:bookworm
|
||||
RUN apt-get update && apt-get install -y make docker.io
|
||||
|
|
|
|||
|
|
@ -1,7 +1,12 @@
|
|||
def tests = ['primitives']
|
||||
|
||||
pipeline {
|
||||
agent any
|
||||
agent {
|
||||
dockerfile {
|
||||
filename 'Dockerfile.jenkins'
|
||||
args '--user=root -v /var/run/docker.sock:/var/run/docker.sock'
|
||||
}
|
||||
}
|
||||
|
||||
options {
|
||||
disableConcurrentBuilds()
|
||||
|
|
|
|||
Loading…
Reference in New Issue