Changeset ae28ee2 for Jenkinsfile


Ignore:
Timestamp:
Feb 16, 2017, 2:33:21 PM (8 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, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
8a7db7c
Parents:
0ef06b6
Message:

New try at benchmark data sent to server

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Jenkinsfile

    r0ef06b6 rae28ee2  
    3131                                //Compile latex documentation
    3232                                doc_build()
    33 
    34                                 //Run benchmark and save result
    35                                 benchmark()
    3633
    3734                                if( bIsFullBuild ) {
     
    194191                }
    195192
     193        build_stage 'Benchmark'
     194
     195                //Write the commit id to Benchmark
     196                writeFile( 'bench.csv', 'data=' + env.CHANGE_ID + ',' )
     197 
     198                //Append bench results
     199                sh 'make -C src/benchmark csv-data >> bench.csv'
     200
     201                //Then publish the results
     202                sh 'curl --data @bench.csv http://plg2/~cforall/cgi-bin/publish.cgi'
     203
    196204        build_stage 'Cleanup'
    197205
     
    235243                        make_doc()
    236244                }
    237 }
    238 
    239 def benchmark() {
    240         stage 'Benchmark'
    241 
    242                 status_prefix = 'Documentation'
    243 
    244                 // //We can't just write to a file outside our repo
    245                 // //Copy the file locally using ssh
    246                 // sh 'scp plg2.cs.uwaterloo.ca:/u/cforall/public_html/perf-history/concurrency.csv bench.csv'
    247 
    248                 // //Then append to the local file
    249                 // sh 'make -C src/benchmark csv-data >> bench.csv'
    250 
    251                 // //Then publish the file again
    252                 // sh 'scp bench.csv plg2.cs.uwaterloo.ca:/u/cforall/public_html/perf-history/concurrency.csv'         
    253245}
    254246
Note: See TracChangeset for help on using the changeset viewer.