From b63030b154227bc756caa00119cc3b622350b05d Mon Sep 17 00:00:00 2001 From: Eyck Jentzsch Date: Wed, 29 Jan 2025 07:55:42 +0100 Subject: [PATCH] adds CONAN_USER_HOME setting to Jenkinsfile --- Jenkinsfile | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index d9dbfe3..3810729 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -52,21 +52,30 @@ pipeline { stage('SCC test pipeline') { parallel { stage('ubuntu-22.04') { - agent {docker { image 'ubuntu-22.04' } } + agent {docker { + image 'ubuntu-22.04' + args ' -e CONAN_USER_HOME=/var/jenkins_home/workspace/conan-jammy' + } } stages { stage('Checkout') { steps { checkout_project() }} stage('Build & test') { steps { build_n_test_project() }} } } stage('rockylinux8') { - agent {docker { image 'rockylinux8' } } + agent {docker { + image 'rockylinux8' + args ' -e CONAN_USER_HOME=/var/jenkins_home/workspace/conan-rocky8' + } } stages { stage('Checkout') { steps { checkout_project() }} stage('Build & test') { steps { build_n_test_project() }} } } stage('Format check') { - agent {docker { image 'ubuntu-22.04' } } + agent {docker { + image 'ubuntu-22.04' + args ' -e CONAN_USER_HOME=/var/jenkins_home/workspace/conan-jammy' + } } stages { stage('Checkout') { steps { checkout_project() }} stage('Build & check format') { steps {