Jenkinsfile: consistently indent with 4 spaces

From the code style guidelines;
https://wiki.jenkins.io/display/JENKINS/Code+Style+Guidelines

> 1. Use spaces. Tabs are banned.
> 2. Java blocks are 4 spaces. JavaScript blocks as for Java. XML nesting is 2 spaces

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2019-08-02 17:34:38 +02:00
parent 4e83c90ae8
commit a95f16ca28
No known key found for this signature in database
GPG key ID: 76698F39D527CE8C

10
Jenkinsfile vendored
View file

@ -26,7 +26,7 @@ pipeline {
expression { params.unit }
}
agent { label 'amd64 && ubuntu-1804 && overlay2' }
environment { DOCKER_BUILDKIT='1' }
environment { DOCKER_BUILDKIT = '1' }
steps {
sh '''
@ -59,7 +59,7 @@ pipeline {
echo 'Creating unit-bundles.tar.gz'
tar -czvf unit-bundles.tar.gz bundles/junit-report.xml bundles/go-test-report.json bundles/profile.out
'''
archiveArtifacts artifacts:'unit-bundles.tar.gz'
archiveArtifacts artifacts: 'unit-bundles.tar.gz'
deleteDir()
}
}
@ -70,7 +70,7 @@ pipeline {
expression { params.janky }
}
agent { label 'amd64 && ubuntu-1804 && overlay2' }
environment { DOCKER_BUILDKIT='1' }
environment { DOCKER_BUILDKIT = '1' }
steps {
sh '''
@ -120,7 +120,7 @@ pipeline {
expression { params.experimental }
}
agent { label 'amd64 && ubuntu-1804 && overlay2' }
environment { DOCKER_BUILDKIT='1' }
environment { DOCKER_BUILDKIT = '1' }
steps {
sh '''
GITCOMMIT=$(git rev-parse --short HEAD)
@ -247,7 +247,7 @@ pipeline {
expression { params.vendor }
}
agent { label 'amd64 && ubuntu-1804 && overlay2' }
environment { DOCKER_BUILDKIT='1' }
environment { DOCKER_BUILDKIT = '1' }
steps {
sh '''
GITCOMMIT=$(git rev-parse --short HEAD)