Skip to content
Snippets Groups Projects
Commit ee33b66a authored by Lars Bilke's avatar Lars Bilke
Browse files

[Jenkins] Mark build as unstable if build jobs were skipped.

Helps to identify that not everything was built. Prevents empty
artifacts when browsing to
https://jenkins.opengeosys.org/job/ufz/job/ogs/job/master/lastSuccessfulBuild/artifact/
parent 442672ea
No related branches found
No related tags found
No related merge requests found
...@@ -77,6 +77,9 @@ pipeline { ...@@ -77,6 +77,9 @@ pipeline {
} }
} }
} }
if(!stage_required.build || !stage_required.full) {
currentBuild.result='UNSTABLE'
}
} }
} }
// Mark build as NOT_BUILT when [ci skip] commit message was found // Mark build as NOT_BUILT when [ci skip] commit message was found
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment