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