Changeset a2a0065 for Jenkinsfile
- Timestamp:
- Apr 23, 2019, 12:31:26 PM (6 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, cleanup-dtors, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- ce2e547
- Parents:
- d9f2874
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Jenkinsfile
rd9f2874 ra2a0065 22 22 wrap([$class: 'TimestamperBuildWrapper']) { 23 23 24 notify_server(0)25 26 24 Settings = prepare_build() 27 25 … … 34 32 checkout() 35 33 36 notify_server(0)37 38 34 build() 39 35 … … 50 46 BuildDir = pwd tmp: true 51 47 SrcDir = pwd tmp: false 52 53 notify_server(45)54 48 } 55 49 } … … 183 177 184 178 //Then publish the results 185 plot csvFileName: "cforall-${env.BRANCH_NAME}-compilation.csv", 186 csvSeries: [[file: "${BuildDir}/benchmark/compile.csv"]], 187 group: 'Compilation', 188 title: 'Compilation', 189 style: 'line' 190 191 plot csvFileName: 'cforall-${env.BRANCH_NAME}-ctxswitch.csv', 192 csvSeries: [[file: "${BuildDir}/benchmark/ctxswitch.csv"]], 193 group: 'Concurrency', 194 title: 'Context Switching', 195 style: 'line' 196 197 plot csvFileName: 'cforall-${env.BRANCH_NAME}-mutex.csv', 198 csvSeries: [[file: "${BuildDir}/benchmark/mutex.csv"]], 199 group: 'Concurrency', 200 title: 'Mutual Exclusion', 201 style: 'line' 202 203 plot csvFileName: 'cforall-${env.BRANCH_NAME}-signal.csv', 204 csvSeries: [[file: "${BuildDir}/benchmark/signal.csv"]], 205 group: 'Concurrency', 206 title: 'Internal and External Scheduling', 207 style: 'line' 179 do_plot('compile', 'Compilation', 'Compilation') 180 181 do_plot('ctxswitch', 'Concurrency', 'Context Switching') 182 183 do_plot('mutex', 'Concurrency', 'Mutual Exclusion') 184 185 do_plot('signal', 'Concurrency', 'Internal and External Scheduling') 208 186 } 209 187 } … … 424 402 } 425 403 426 def notify_server(int wait) {427 sh """curl --silent --show-error --data "wait=${wait}" -X POST https://cforall.uwaterloo.ca:8082/jenkins/notify > /dev/null || true"""428 return429 }430 431 404 def make_doc() { 432 405 def err = null … … 443 416 } 444 417 } 418 419 def do_plot(String file, String group, String title) { 420 plot csvFileName: "cforall-${env.BRANCH_NAME}-${file}.csv", 421 csvSeries: [[ 422 file: "${BuildDir}/benchmark/${file}.csv", 423 exclusionValues: '', 424 displayTableFlag: false, 425 inclusionFlag: 'OFF', 426 url: '' 427 ]], 428 group: "${group}", 429 title: "${title}", 430 style: 'line', 431 exclZero: false, 432 keepRecords: false, 433 logarithmic: false, 434 numBuilds: '', 435 useDescr: false, 436 yaxis: '', 437 yaxisMaximum: '', 438 yaxisMinimum: '' 439 }
Note: See TracChangeset
for help on using the changeset viewer.