From f8152e8ca5a2c9d7f58d597e6e79271f37414fcc Mon Sep 17 00:00:00 2001 From: Eyck-Alexander Jentzsch Date: Wed, 22 May 2024 15:58:39 +0200 Subject: [PATCH] sets Conanhome in jenkinsfile --- Jenkinsfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index ce7f737..4390ec0 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -21,17 +21,17 @@ pipeline { agent { docker { image 'git.minres.com/tooling/riscof_sail:latest' + environment { + CONAN_USER_HOME = '/var/jenkins_home/workspace/riscof_sail' + } } } stages { stage("build TGC-ISS"){ steps { - sh ''' - conan profile new --detect --force default - cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DWITH_ASMJIT=OFF -DWITH_TCC=OFF -DWITH_LLVM=OFF - cmake --build build -j - ''' + sh 'cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DWITH_ASMJIT=OFF -DWITH_TCC=OFF -DWITH_LLVM=OFF' + sh 'cmake --build build -j' } } stage("Checkout TGC-Compliance"){