Changes in Jenkins/FullBuild [8110bc3:e9ea53d]
- File:
-
- 1 edited
-
Jenkins/FullBuild (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
Jenkins/FullBuild
r8110bc3 re9ea53d 5 5 //=========================================================================================================== 6 6 7 node {7 node ('master') { 8 8 def err = null 9 9 … … 18 18 19 19 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' ) }, 29 29 ) 30 30 } … … 106 106 107 107 if(result.result != 'SUCCESS') { 108 sh("wget -q -O - http s://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") 109 109 error(result.result) 110 110 } … … 144 144 //Email notification on a full build failure 145 145 def promote_email(boolean success) { 146 node { 147 echo('notifying users') 146 echo('notifying users') 148 147 149 def result = success ? "PROMOTE - SUCCESS" : "PROMOTE - FAILURE"148 def result = success ? "PROMOTE - SUCCESS" : "PROMOTE - FAILURE" 150 149 151 //Since tokenizer doesn't work, figure stuff out from the environnement variables and command line152 //Configurations for email format153 def email_subject = "[cforall git][${result}]"154 def email_body = """<p>This is an automated email from the Jenkins build machine. It was155 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 154 generated following the result of the C\u2200 nightly build.</p> 156 155 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> 158 157 159 <p>- Status --------------------------------------------------------------</p>158 <p>- Status --------------------------------------------------------------</p> 160 159 161 <p>${result}</p>160 <p>${result}</p> 162 161 163 <p>- Performance ---------------------------------------------------------</p>162 <p>- Performance ---------------------------------------------------------</p> 164 163 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" > 167 166 168 <p>- Logs ----------------------------------------------------------------</p>169 """167 <p>- Logs ----------------------------------------------------------------</p> 168 """ 170 169 171 def email_to = "cforall@lists.uwaterloo.ca"170 def email_to = "cforall@lists.uwaterloo.ca" 172 171 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 176 174 }
Note:
See TracChangeset
for help on using the changeset viewer.