Jenkinsfile - set 'Qt6 installation dir'... still
This commit is contained in:
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user