Changeset e57ebb5


Ignore:
Timestamp:
Aug 17, 2018, 3:28:16 PM (6 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer, pthread-emulation, qualifiedEnum
Children:
a336d46
Parents:
2469a6e
Message:

Removed unnecessary status parameter

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Jenkinsfile

    r2469a6e re57ebb5  
    6565                if( Settings && !Settings.Silent ) {
    6666                        echo 'Notifying users of result'
    67                         email(currentBuild.result, log_needed, bIsSandbox)
     67                        email(log_needed, Settings.IsSandbox)
    6868                }
    6969
     
    121121- Status --------------------------------------------------------------
    122122
    123 BUILD# ${env.BUILD_NUMBER} - ${status}
     123BUILD# ${env.BUILD_NUMBER} - ${currentBuild.result}
    124124
    125125- Log -----------------------------------------------------------------
     
    231231
    232232//Standard build email notification
    233 def email(String status, boolean log, boolean bIsSandbox) {
     233def email(boolean log, boolean bIsSandbox) {
    234234        //Since tokenizer doesn't work, figure stuff out from the environnement variables and command line
    235235        //Configurations for email format
     
    256256        }
    257257
    258         def email_subject = "[${project_name} git][BUILD# ${env.BUILD_NUMBER} - ${status}] - branch ${env.BRANCH_NAME}"
     258        def email_subject = "[${project_name} git][BUILD# ${env.BUILD_NUMBER} - ${currentBuild.result}] - branch ${env.BRANCH_NAME}"
    259259        def email_body = """This is an automated email from the Jenkins build machine. It was
    260260generated because of a git hooks/post-receive script following
     
    269269- Status --------------------------------------------------------------
    270270
    271 BUILD# ${env.BUILD_NUMBER} - ${status}
     271BUILD# ${env.BUILD_NUMBER} - ${currentBuild.result}
    272272
    273273- Log -----------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.