Jenkinsfile: set DOCKER_BUILDKIT globally

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2019-08-02 17:50:56 +02:00
parent a28f2a2338
commit f648964875
No known key found for this signature in database
GPG Key ID: 76698F39D527CE8C
1 changed files with 1 additions and 4 deletions

5
Jenkinsfile vendored
View File

@ -18,6 +18,7 @@ pipeline {
booleanParam(name: 'windowsRS5', defaultValue: false, description: 'Windows 2019 (RS5) Build/Test')
}
environment {
DOCKER_BUILDKIT = '1'
APT_MIRROR = 'cdn-fastly.deb.debian.org'
}
stages {
@ -29,7 +30,6 @@ pipeline {
expression { params.unit }
}
agent { label 'amd64 && ubuntu-1804 && overlay2' }
environment { DOCKER_BUILDKIT = '1' }
steps {
sh '''
@ -73,7 +73,6 @@ pipeline {
expression { params.janky }
}
agent { label 'amd64 && ubuntu-1804 && overlay2' }
environment { DOCKER_BUILDKIT = '1' }
steps {
sh '''
@ -123,7 +122,6 @@ pipeline {
expression { params.experimental }
}
agent { label 'amd64 && ubuntu-1804 && overlay2' }
environment { DOCKER_BUILDKIT = '1' }
steps {
sh '''
GITCOMMIT=$(git rev-parse --short HEAD)
@ -246,7 +244,6 @@ pipeline {
expression { params.vendor }
}
agent { label 'amd64 && ubuntu-1804 && overlay2' }
environment { DOCKER_BUILDKIT = '1' }
steps {
sh '''
GITCOMMIT=$(git rev-parse --short HEAD)