Jenkinsfile - set 'Qt6 installation dir'... still

This commit is contained in:
Uwe Jakobeit
2026-03-30 12:45:08 +02:00
parent ec41b1d74a
commit 0d7cabd465

7
Jenkinsfile vendored
View File

@@ -16,12 +16,15 @@ pipeline {
} }
} }
stage('Build') { stage('Build') {
environment {
Qt6Dir=/home/k4/Qt/6.10.2/lib/cmake
}
steps { steps {
// Build the project using the generated files // Build the project using the generated files
echo "Build project" 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" echo "See what's in the environment"
sh 'env | grep Qt' sh "env | grep Qt"
sh 'cmake -S . -B build -DCMAKE_BUILD_TYPE=Release' sh 'cmake -S . -B build -DCMAKE_BUILD_TYPE=Release'
// echo "See localbuild says on the environment" // echo "See localbuild says on the environment"