From aa9c743d1d9c5c990bd3bf1cb42c572c108889b5 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Tue, 24 Mar 2020 16:58:49 +0100 Subject: [PATCH] Jenkinsfile: show information about CI environment Signed-off-by: Sebastiaan van Stijn --- Jenkinsfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 84ff3aab..76f651e4 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -29,8 +29,13 @@ def generatePackageStep(opts, arch) { node("linux&&${arch}") { stage("${opts.image}-${arch}") { try { - checkout scm + sh 'docker version' + sh 'docker info' + sh ''' + curl -fsSL "https://raw.githubusercontent.com/moby/moby/master/contrib/check-config.sh" | bash || true + ''' sh("docker pull ${opts.image}") + checkout scm sh("make BUILD_IMAGE=${opts.image} CREATE_ARCHIVE=1 clean build") archiveArtifacts(artifacts: 'archive/*.tar.gz', onlyIfSuccessful: true) } finally {