environment test
This commit is contained in:
parent
c9b1816594
commit
27183530cc
22
Jenkinsfile
vendored
22
Jenkinsfile
vendored
|
@ -8,10 +8,29 @@ podTemplate(
|
|||
image: 'gradle:7.6.0-jdk11',
|
||||
command: 'sleep',
|
||||
args: '30d'
|
||||
),
|
||||
containerTemplate(
|
||||
name: 'docker',
|
||||
image: 'docker:latest',
|
||||
command: 'cat',
|
||||
ttyEnabled: true
|
||||
),
|
||||
containerTemplate(
|
||||
name: 'kubectl',
|
||||
image: 'bitnami/kubectl:latest',
|
||||
command: 'cat',
|
||||
ttyEnabled: true
|
||||
),
|
||||
containerTemplate(
|
||||
name: 'helm',
|
||||
image: 'alpine/helm:latest',
|
||||
command: 'cat',
|
||||
ttyEnabled: true
|
||||
)
|
||||
],
|
||||
volumes: [
|
||||
hostPathVolume(mountPath: '/home/gradle/.gradle', hostPath: '/tmp/jenkins/.gradle')
|
||||
hostPathVolume(mountPath: '/home/gradle/.gradle', hostPath: '/tmp/jenkins/.gradle'),
|
||||
hostPathVolume(mountPath: '/var/run/docker.sock', hostPath: '/var/run/docker.sock')
|
||||
]
|
||||
)
|
||||
{
|
||||
|
@ -43,5 +62,6 @@ podTemplate(
|
|||
sh "gradle build"
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user