environment test

This commit is contained in:
crusader 2023-02-01 10:24:00 +00:00
parent a43fcf58e5
commit 2fed4f26ba

29
Jenkinsfile vendored
View File

@ -20,32 +20,3 @@ podTemplate(containers: [
}
}
pipeline {
agent {
kubernetes {
yaml '''
apiVersion: v1
kind: Pod
metadata:
labels:
some-label: some-label-value
spec:
containers:
- name: gradle
image: gradle:7.6.0-jdk11
tty: true
'''
retries 2
}
}
stages {
stage('Run gradle') {
steps {
container('gradle') {
sh './gradlew clean build'
}
}
}
}
}