Changeset 2b4daf2 for Jenkins/tools.groovy
- Timestamp:
- Jan 7, 2021, 5:06:22 PM (5 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 5ad381b
- Parents:
- 42f6e07 (diff), 58fe85a (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Jenkins/tools.groovy
r42f6e07 r2b4daf2 6 6 import org.jenkinsci.plugins.pipeline.modeldefinition.Utils 7 7 8 // Global for the stage name9 StageName = ''10 11 8 // wrapper around stage declaretion to be more verbose 12 9 // and allow showing as skipped in the UI 13 10 def BuildStage(String name, boolean run, Closure block ) { 14 StageName = name 15 echo " -------- ${StageName} -------- " 11 echo " -------- ${name} -------- " 16 12 if(run) { 17 13 stage(name, block)
Note:
See TracChangeset
for help on using the changeset viewer.