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