ci: Use Dockerfiles in jenkinsfile

This commit is contained in:
Alexander Engelsberger 2021-11-04 11:58:21 +01:00 committed by GitHub
parent 2da3a8f226
commit 6aa8a59a57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

12
Jenkinsfile vendored
View File

@ -5,9 +5,9 @@ pipeline {
parallel { parallel {
stage('3.9'){ stage('3.9'){
agent { agent {
docker { dockerfile {
image 'python:3.9' filename 'python39.Dockerfile'
args '--user 0:0' dir '.ci'
} }
} }
steps { steps {
@ -18,9 +18,9 @@ pipeline {
} }
stage('3.8'){ stage('3.8'){
agent { agent {
docker { dockerfile {
image 'python:3.8' filename 'python38.Dockerfile'
args '--user 0:0' dir '.ci'
} }
} }
steps { steps {