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 {