Ignore:
Timestamp:
Dec 17, 2020, 11:18:24 AM (10 months ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
arm-eh, jacob/cs343-translation, master, new-ast-unique-expr
Children:
7522692
Parents:
18e4cd0
Message:

Removed StageName? global as it doesn't seem to work and it's not that useful

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Jenkins/tools.groovy

    r18e4cd0 r9dd31e7  
    66import org.jenkinsci.plugins.pipeline.modeldefinition.Utils
    77
    8 // Global for the stage name
    9 StageName = ''
    10 
    118// wrapper around stage declaretion to be more verbose
    129// and allow showing as skipped in the UI
    1310def BuildStage(String name, boolean run, Closure block ) {
    14         StageName = name
    15         echo " -------- ${StageName} -------- "
     11        echo " -------- ${name} -------- "
    1612        if(run) {
    1713                stage(name, block)
Note: See TracChangeset for help on using the changeset viewer.