diff --git a/Jenkinsfile b/Jenkinsfile index 958117f..7b58895 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -16,12 +16,15 @@ pipeline { } } stage('Build') { + environment { + Qt6Dir=/home/k4/Qt/6.10.2/lib/cmake + } steps { // Build the project using the generated files echo "Build project" - sh 'export Qt6Dir=/home/k4/Qt/6.10.2/lib/cmake' + // sh 'export Qt6Dir=/home/k4/Qt/6.10.2/lib/cmake' echo "See what's in the environment" - sh 'env | grep Qt' + sh "env | grep Qt" sh 'cmake -S . -B build -DCMAKE_BUILD_TYPE=Release' // echo "See localbuild says on the environment"