adds CONAN_USER_HOME setting to Jenkinsfile

This commit is contained in:
Eyck Jentzsch 2025-01-29 07:55:42 +01:00
parent 5855da9131
commit b63030b154

15
Jenkinsfile vendored
View File

@ -52,21 +52,30 @@ pipeline {
stage('SCC test pipeline') { stage('SCC test pipeline') {
parallel { parallel {
stage('ubuntu-22.04') { 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 { stages {
stage('Checkout') { steps { checkout_project() }} stage('Checkout') { steps { checkout_project() }}
stage('Build & test') { steps { build_n_test_project() }} stage('Build & test') { steps { build_n_test_project() }}
} }
} }
stage('rockylinux8') { stage('rockylinux8') {
agent {docker { image 'rockylinux8' } } agent {docker {
image 'rockylinux8'
args ' -e CONAN_USER_HOME=/var/jenkins_home/workspace/conan-rocky8'
} }
stages { stages {
stage('Checkout') { steps { checkout_project() }} stage('Checkout') { steps { checkout_project() }}
stage('Build & test') { steps { build_n_test_project() }} stage('Build & test') { steps { build_n_test_project() }}
} }
} }
stage('Format check') { 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 { stages {
stage('Checkout') { steps { checkout_project() }} stage('Checkout') { steps { checkout_project() }}
stage('Build & check format') { steps { stage('Build & check format') { steps {