fix: call semantic body in stage
This commit is contained in:
parent
ee3391bd7a
commit
59ca74c741
@ -18,6 +18,7 @@ def semanticStage(String stageName, String containerName, Closure body) {
|
|||||||
stage(stageName) {
|
stage(stageName) {
|
||||||
container(containerName) {
|
container(containerName) {
|
||||||
sh "git config --global --add safe.directory \$(pwd)"
|
sh "git config --global --add safe.directory \$(pwd)"
|
||||||
|
body()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user