Jenkinsfile - set 'Qt6 installation dir'... still
This commit is contained in:
11
Jenkinsfile
vendored
11
Jenkinsfile
vendored
@@ -1,8 +1,8 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
agent any // Or use 'dockerfile' if running in a container
|
agent any // Or use 'dockerfile' if running in a container
|
||||||
environment {
|
// environment {
|
||||||
Qt6_DIR='/home/k4/Qt/6.10.2/gcc_64/lib/cmake/Qt6'
|
// Qt6_DIR='/home/k4/Qt/6.10.2/gcc_64/lib/cmake/Qt6'
|
||||||
}
|
// }
|
||||||
stages {
|
stages {
|
||||||
stage('Clean') {
|
stage('Clean') {
|
||||||
steps {
|
steps {
|
||||||
@@ -26,9 +26,10 @@ pipeline {
|
|||||||
// 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"
|
||||||
echo "Qt Dir is ${Qt6_DIR}"
|
echo "Qt Dir is ${Qt6_DIR}"
|
||||||
sh "export Qt6_DIR='/home/k4/Qt/6.10.2/gcc_64/lib/cmake/Qt6'"
|
// sh "export Qt6_DIR='/home/k4/Qt/6.10.2/gcc_64/lib/cmake/Qt6'"
|
||||||
// sh "env | grep Qt"
|
// sh "env | grep Qt"
|
||||||
sh 'cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DQt6_DIR=/home/k4/Qt/6.10.2/gcc_64/lib/cmake/Qt6'
|
// sh 'cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DQt6_DIR=/home/k4/Qt/6.10.2/gcc_64/lib/cmake/Qt6'
|
||||||
|
sh 'cmake -S . -B build -DCMAKE_BUILD_TYPE=Release '
|
||||||
|
|
||||||
// echo "See localbuild says on the environment"
|
// echo "See localbuild says on the environment"
|
||||||
// sh './localbuild.sh'
|
// sh './localbuild.sh'
|
||||||
|
|||||||
Reference in New Issue
Block a user