Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Jenkinsfile

    rf97b614 rf51ef6f  
    8080                        make_doc()
    8181                }
     82}
     83
     84def benchmark() {
     85        stage 'Benchmark'
     86
     87                status_prefix = 'Documentation'
     88
     89                // //We can't just write to a file outside our repo
     90                // //Copy the file locally using ssh
     91                // sh 'scp plg2.cs.uwaterloo.ca:/u/cforall/public_html/perf-history/concurrency.csv bench.csv'
     92
     93                // //Then append to the local file
     94                // sh 'make -C src/benchmark csv-data >> bench.csv'
     95
     96                // //Then publish the file again
     97                // sh 'scp bench.csv plg2.cs.uwaterloo.ca:/u/cforall/public_html/perf-history/concurrency.csv'         
    8298}
    8399
     
    164180                                        ]])
    165181
     182                                bIsSandbox = env.BRANCH_NAME == "jenkins-sandbox"
    166183                                bIsFullBuild = isFullBuild == 'true'
    167184                                architectureFlag = ''
     
    183200                                doc_build()
    184201
     202                                //Run benchmark and save result
     203                                benchmark()
     204
    185205                                if( bIsFullBuild ) {
    186206                                        //Compile using gcc-5
     
    213233
    214234                //Send email with final results if this is not a full build
    215                 if( !bIsFullBuild ) {
     235                if( !bIsFullBuild && !bIsSandbox ) {
    216236                        echo 'Notifying users of result'
    217237                        email(currentBuild.result, log_needed)
Note: See TracChangeset for help on using the changeset viewer.