Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Jenkins/FullBuild

    r8110bc3 re9ea53d  
    55//===========================================================================================================
    66
    7 node {
     7node ('master') {
    88        def err = null
    99
     
    1818
    1919                                parallel (
    20                                         gcc_08_x86_new: { trigger_build( 'gcc-8',   'x86' ) },
    21                                         gcc_07_x86_new: { trigger_build( 'gcc-7',   'x86' ) },
    22                                         gcc_06_x86_new: { trigger_build( 'gcc-6',   'x86' ) },
    23                                         gcc_10_x64_new: { trigger_build( 'gcc-10',  'x64' ) },
    24                                         gcc_09_x64_new: { trigger_build( 'gcc-9',   'x64' ) },
    25                                         gcc_08_x64_new: { trigger_build( 'gcc-8',   'x64' ) },
    26                                         gcc_07_x64_new: { trigger_build( 'gcc-7',   'x64' ) },
    27                                         gcc_06_x64_new: { trigger_build( 'gcc-6',   'x64' ) },
    28                                         clang_x64_new:  { trigger_build( 'clang',   'x64' ) },
     20                                        gcc_8_x86_new: { trigger_build( 'gcc-8',   'x86' ) },
     21                                        gcc_7_x86_new: { trigger_build( 'gcc-7',   'x86' ) },
     22                                        gcc_6_x86_new: { trigger_build( 'gcc-6',   'x86' ) },
     23                                        gcc_9_x64_new: { trigger_build( 'gcc-9',   'x64' ) },
     24                                        gcc_8_x64_new: { trigger_build( 'gcc-8',   'x64' ) },
     25                                        gcc_7_x64_new: { trigger_build( 'gcc-7',   'x64' ) },
     26                                        gcc_6_x64_new: { trigger_build( 'gcc-6',   'x64' ) },
     27                                        gcc_5_x64_new: { trigger_build( 'gcc-5',   'x64' ) },
     28                                        clang_x64_new: { trigger_build( 'clang',   'x64' ) },
    2929                                )
    3030                        }
     
    106106
    107107        if(result.result != 'SUCCESS') {
    108                 sh("wget -q -O - https://cforall.uwaterloo.ca/jenkins/job/Cforall/job/master/${result.number}/consoleText")
     108                sh("wget -q -O - http://localhost:8084/jenkins/job/Cforall/job/master/${result.number}/consoleText")
    109109                error(result.result)
    110110        }
     
    144144//Email notification on a full build failure
    145145def promote_email(boolean success) {
    146         node {
    147                 echo('notifying users')
     146        echo('notifying users')
    148147
    149                 def result = success ? "PROMOTE - SUCCESS" : "PROMOTE - FAILURE"
     148        def result = success ? "PROMOTE - SUCCESS" : "PROMOTE - FAILURE"
    150149
    151                 //Since tokenizer doesn't work, figure stuff out from the environnement variables and command line
    152                 //Configurations for email format
    153                 def email_subject = "[cforall git][${result}]"
    154                 def email_body = """<p>This is an automated email from the Jenkins build machine. It was
    155         generated following the result of the C\u2200 nightly build.</p>
     150        //Since tokenizer doesn't work, figure stuff out from the environnement variables and command line
     151        //Configurations for email format
     152        def email_subject = "[cforall git][${result}]"
     153        def email_body = """<p>This is an automated email from the Jenkins build machine. It was
     154generated following the result of the C\u2200 nightly build.</p>
    156155
    157         <p>Check console output at ${env.BUILD_URL} to view the results.</p>
     156<p>Check console output at ${env.BUILD_URL} to view the results.</p>
    158157
    159         <p>- Status --------------------------------------------------------------</p>
     158<p>- Status --------------------------------------------------------------</p>
    160159
    161         <p>${result}</p>
     160<p>${result}</p>
    162161
    163         <p>- Performance ---------------------------------------------------------</p>
     162<p>- Performance ---------------------------------------------------------</p>
    164163
    165         <img src="https://cforall.uwaterloo.ca/jenkins/job/Cforall/job/master/plot/Compilation/getPlot?index=0" >
    166         <img src="https://cforall.uwaterloo.ca/jenkins/job/Cforall/job/master/plot/Compilation/getPlot?index=1" >
     164<img src="https://cforall.uwaterloo.ca/jenkins/job/Cforall/job/master/plot/Compilation/getPlot?index=0" >
     165<img src="https://cforall.uwaterloo.ca/jenkins/job/Cforall/job/master/plot/Compilation/getPlot?index=1" >
    167166
    168         <p>- Logs ----------------------------------------------------------------</p>
    169         """
     167<p>- Logs ----------------------------------------------------------------</p>
     168"""
    170169
    171                 def email_to = "cforall@lists.uwaterloo.ca"
     170        def email_to = "cforall@lists.uwaterloo.ca"
    172171
    173                 //send email notification
    174                 emailext body: email_body, subject: email_subject, to: email_to, attachLog: !success
    175         }
     172        //send email notification
     173        emailext body: email_body, subject: email_subject, to: email_to, attachLog: !success
    176174}
Note: See TracChangeset for help on using the changeset viewer.