Skip to content

Commit 0f88138

Browse files
committed
Add extraScripts utility
1 parent c2a713a commit 0f88138

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/org/caf/Build.groovy

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,11 @@ def dockerBuild(osConfig, buildType, settings, index) {
184184
sh "./sources/.ci/run.sh test '$buildDir'"
185185
writeFile file: "build-${index}.success", text: "success\n"
186186
}
187+
warnError('Extra script failed!') {
188+
settings['extraScripts'].each {
189+
sh "$it"
190+
}
191+
}
187192
}
188193
stash includes: "build-${index}.*", name: "build-${index}"
189194
}

0 commit comments

Comments
 (0)