Changeset bae0d35 for Jenkins/FullBuild


Ignore:
Timestamp:
Jun 7, 2021, 2:09:12 PM (3 years ago)
Author:
caparsons <caparson@…>
Branches:
ADT, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
5a46e09
Parents:
82f4063 (diff), 53692b3 (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
  • Jenkins/FullBuild

    r82f4063 rbae0d35  
    1818
    1919                                parallel (
    20                                         gcc_8_x86_new: { trigger_build( 'gcc-8',   'x86', true  ) },
    21                                         gcc_7_x86_new: { trigger_build( 'gcc-7',   'x86', true  ) },
    22                                         gcc_6_x86_new: { trigger_build( 'gcc-6',   'x86', true  ) },
    23                                         gcc_9_x64_new: { trigger_build( 'gcc-9',   'x64', true  ) },
    24                                         gcc_8_x64_new: { trigger_build( 'gcc-8',   'x64', true  ) },
    25                                         gcc_7_x64_new: { trigger_build( 'gcc-7',   'x64', true  ) },
    26                                         gcc_6_x64_new: { trigger_build( 'gcc-6',   'x64', true  ) },
    27                                         gcc_5_x64_new: { trigger_build( 'gcc-5',   'x64', true  ) },
    28                                         clang_x64_new: { trigger_build( 'clang',   'x64', true  ) },
    29                                         clang_x64_old: { trigger_build( 'clang',   'x64', false ) },
     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' ) },
    3029                                )
    3130                        }
     
    3332                        stage('Package') {
    3433                                trigger_dist( commitId, currentBuild.number.toString() )
     34                        }
     35
     36                        stage('Promote') {
     37                                trigger_prom()
    3538                        }
    3639                }
     
    6568//===========================================================================================================
    6669
    67 def trigger_build(String cc, String arch, boolean new_ast) {
     70def trigger_build(String cc, String arch) {
    6871        // Randomly delay the builds by a random amount to avoid hitting the SC server to hard
    6972        sleep(time: 5 * Math.random(), unit:"MINUTES")
     
    8184                        [$class: 'BooleanParameterValue',               \
    8285                          name: 'NewAST',                               \
    83                           value: new_ast],                              \
     86                          value: true],                                         \
    8487                        [$class: 'BooleanParameterValue',               \
    8588                          name: 'RunAllTests',                          \
     
    124127}
    125128
     129def trigger_prom() {
     130        def result = build job: 'Cforall_Promote_Ref', propagate: false
     131
     132        echo(result.result)
     133
     134        if(result.result != 'SUCCESS') {
     135                sh("wget -q -O - https://cforall.uwaterloo.ca/jenkins/job/Cforall_Promote_Ref/${result.number}/consoleText")
     136                error(result.result)
     137        }
     138}
     139
    126140//===========================================================================================================
    127141//Routine responsible of sending the email notification once the build is completed
Note: See TracChangeset for help on using the changeset viewer.