mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-09-02 15:01:49 -06:00
Restore Jenkinsfile
This commit is contained in:
parent
c7b7521a30
commit
c3cd6f8052
1 changed files with 1 additions and 6 deletions
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
|
@ -1,10 +1,6 @@
|
||||||
parallel_nodes(['linux && cura', 'windows && cura']) {
|
parallel_nodes(['linux && cura', 'windows && cura']) {
|
||||||
timeout(time: 2, unit: "HOURS") {
|
timeout(time: 2, unit: "HOURS") {
|
||||||
|
|
||||||
environment {
|
|
||||||
CTEST_OUTPUT_ON_FAILURE = '1'
|
|
||||||
}
|
|
||||||
|
|
||||||
// Prepare building
|
// Prepare building
|
||||||
stage('Prepare') {
|
stage('Prepare') {
|
||||||
// Ensure we start with a clean build directory.
|
// Ensure we start with a clean build directory.
|
||||||
|
@ -33,8 +29,7 @@ parallel_nodes(['linux && cura', 'windows && cura']) {
|
||||||
// Try and run the unit tests. If this stage fails, we consider the build to be "unstable".
|
// Try and run the unit tests. If this stage fails, we consider the build to be "unstable".
|
||||||
stage('Unit Test') {
|
stage('Unit Test') {
|
||||||
try {
|
try {
|
||||||
//make('test')
|
make('test')
|
||||||
sh "CTEST_OUTPUT_ON_FAILURE=1 make test"
|
|
||||||
} catch(e) {
|
} catch(e) {
|
||||||
currentBuild.result = "UNSTABLE"
|
currentBuild.result = "UNSTABLE"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue