Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Jenkins/FullBuild

    re9ea53d re825c9d  
    1818
    1919                                parallel (
    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' ) },
     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 ) },
    2930                                )
    3031                        }
     
    3233                        stage('Package') {
    3334                                trigger_dist( commitId, currentBuild.number.toString() )
    34                         }
    35 
    36                         stage('Promote') {
    37                                 trigger_prom()
    3835                        }
    3936                }
     
    6865//===========================================================================================================
    6966
    70 def trigger_build(String cc, String arch) {
     67def trigger_build(String cc, String arch, boolean new_ast) {
    7168        // Randomly delay the builds by a random amount to avoid hitting the SC server to hard
    7269        sleep(time: 5 * Math.random(), unit:"MINUTES")
     
    8481                        [$class: 'BooleanParameterValue',               \
    8582                          name: 'NewAST',                               \
    86                           value: true],                                         \
     83                          value: new_ast],                              \
    8784                        [$class: 'BooleanParameterValue',               \
    8885                          name: 'RunAllTests',                          \
     
    127124}
    128125
    129 def 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 
    140126//===========================================================================================================
    141127//Routine responsible of sending the email notification once the build is completed
Note: See TracChangeset for help on using the changeset viewer.