Changeset bd9bcc8 for Jenkinsfile


Ignore:
Timestamp:
Feb 20, 2017, 12:05:49 PM (9 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:
3bff885
Parents:
facc44f (diff), d150ea2 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Jenkinsfile

    rfacc44f rbd9bcc8  
    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.