Changeset 18e4cd0


Ignore:
Timestamp:
Dec 17, 2020, 11:07:58 AM (3 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
9dd31e7
Parents:
39d22ef
Message:

Trying to get more complete failure message

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Jenkinsfile

    r39d22ef r18e4cd0  
    2727
    2828                        node(Settings.Architecture.node) {
    29                                 BuildDir  = pwd tmp: true
    30                                 SrcDir    = pwd tmp: false
    31 
    32                                 Tools.Clean()
    33 
    34                                 Tools.Checkout()
    35 
    36                                 build()
    37 
    38                                 test()
    39 
    40                                 benchmark()
    41 
    42                                 build_doc()
    43 
    44                                 publish()
     29                                try {
     30                                        BuildDir  = pwd tmp: true
     31                                        SrcDir    = pwd tmp: false
     32
     33                                        Tools.Clean()
     34
     35                                        Tools.Checkout()
     36
     37                                        build()
     38
     39                                        test()
     40
     41                                        benchmark()
     42
     43                                        build_doc()
     44
     45                                        publish()
     46                                }
     47                                catch (Exception e) {
     48                                        //Store the result of the build log
     49                                        currentBuild.result = "${Tools.StageName} FAILURE".trim()
     50                                        throw e
     51                                }
    4552                        }
    4653
     
    5663                //An error has occured, the build log is relevent
    5764                log_needed = true
    58 
    59                 //Store the result of the build log
    60                 currentBuild.result = "${Tools.StageName} FAILURE".trim()
    6165
    6266                //rethrow error later
Note: See TracChangeset for help on using the changeset viewer.