Changeset 852ae0ea for Jenkinsfile


Ignore:
Timestamp:
Dec 17, 2020, 10:36:47 AM (4 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:
28c35e2
Parents:
7a70fb2
Message:

Changing how jenkins errors are printed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Jenkinsfile

    r7a70fb2 r852ae0ea  
    5454        //attach the build log to the email
    5555        catch (Exception caughtError) {
     56                //An error has occured, the build log is relevent
     57                log_needed = true
     58
     59                //Store the result of the build log
     60                currentBuild.result = "${tools.StageName} FAILURE".trim()
     61
    5662                //rethrow error later
    5763                err = caughtError
    5864
     65                echo "Error caught, status: ${currentBuild.result}"
    5966                echo err.toString()
    60 
    61                 //An error has occured, the build log is relevent
    62                 log_needed = true
    63 
    64                 //Store the result of the build log
    65                 currentBuild.result = "${tools.StageName} FAILURE".trim()
    6667        }
    6768
Note: See TracChangeset for help on using the changeset viewer.