Skip to content

Commit f9afe50

Browse files
committed
Update Jenkinsfile
1 parent a571403 commit f9afe50

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Jenkinsfile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
pipeline {
22
agent any
33
stages {
4-
stage('CMake Debug build') {
4+
stage('CMake Debug build and unit tests / Ubuntu 18.04') {
55
agent {
66
docker {
77
image 'juzzlin/qt5-18.04:latest'
@@ -10,11 +10,11 @@ pipeline {
1010
}
1111
steps {
1212
sh "mkdir -p build-debug"
13-
sh "cd build-debug && cmake -DCMAKE_BUILD_TYPE=Debug .."
14-
sh "cd build-debug && cmake --build . --target all -- -j3 && ctest"
13+
sh "cd build-debug && cmake -GNinja -DCMAKE_BUILD_TYPE=Debug .."
14+
sh "cd build-debug && cmake --build . && ctest"
1515
}
1616
}
17-
stage('CMake Release build') {
17+
stage('CMake Release build and unit tests / Ubuntu 18.04') {
1818
agent {
1919
docker {
2020
image 'juzzlin/qt5-18.04:latest'
@@ -23,8 +23,8 @@ pipeline {
2323
}
2424
steps {
2525
sh "mkdir -p build-release"
26-
sh "cd build-release && cmake -DCMAKE_BUILD_TYPE=Release .."
27-
sh "cd build-release && cmake --build . --target all -- -j3 && ctest"
26+
sh "cd build-release && cmake -GNinja -DCMAKE_BUILD_TYPE=Release .."
27+
sh "cd build-release && cmake --build . && ctest"
2828
}
2929
}
3030
}

0 commit comments

Comments
 (0)