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

[Jenkins] Doing a full build when user started the build.

parent 2009063a
No related branches found
No related tags found
No related merge requests found
......@@ -24,6 +24,14 @@ pipeline {
stage_required.full = true
return true
}
def causes = currentBuild.rawBuild.getCauses()
for(cause in causes) {
if (cause.class.toString().contains("UserIdCause")) {
echo "Doing full build because job was started by user."
stage_required.full = true
return true
}
}
if (env.JOB_NAME == "ufz/ogs/master") {
stage_required.web = true
}
......
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