Changeset 27b1ca1 for Jenkinsfile
- Timestamp:
 - Dec 3, 2020, 4:37:50 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:
 - c74e601
 - Parents:
 - 0f88a225
 - File:
 - 
      
- 1 edited
 
- 
          
  Jenkinsfile (modified) (4 diffs)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
Jenkinsfile
r0f88a225 r27b1ca1 3 3 import groovy.transform.Field 4 4 5 // For skipping stages 6 import org.jenkinsci.plugins.pipeline.modeldefinition.Utils5 import static Jenkins.tools.build_stage as build_stage 6 import Jenkins.tools 7 7 8 8 //=========================================================================================================== … … 15 15 SrcDir = pwd tmp: false 16 16 Settings = null 17 StageName = ''18 17 19 18 // Local variables … … 66 65 67 66 //Store the result of the build log 68 currentBuild.result = "${ StageName} FAILURE".trim()67 currentBuild.result = "${tools.StageName} FAILURE".trim() 69 68 } 70 69 … … 517 516 } 518 517 519 def build_stage(String name, boolean run, Closure block ) {520 StageName = name521 echo " -------- ${StageName} -------- "522 if(run) {523 stage(name, block)524 } else {525 stage(name) { Utils.markStageSkippedForConditional(STAGE_NAME) }526 }527 }528 529 518 def make_doc() { 530 519 def err = null  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.