Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Jenkinsfile

    rdeefdc1 rd56c05d0  
    176176                                                  defaultValue: false,                                          \
    177177                                                  description: 'If true, the build will be promoted to the do-lang git repository (on successful builds only)', \
    178                                                   name: 'promoteBuild2DoLang'                                   \
    179                                                 ],                                                              \
    180                                                 [$class: 'ChoiceParameterDefinition',                           \
    181                                                   choices: '64-bit\n32-bit',                                    \
    182                                                   defaultValue: '64-bit',                                       \
    183                                                   description: 'The architecture to use for compilation',       \
    184                                                   name: 'buildArchitecture'                                     \
    185                                                 ]]                                                              \
     178                                                  name: 'promoteBuild2DoLang'                           \
     179                                                ]]                                                                      \
    186180                                        ]])
    187181
    188182                                doPromoteBuild2DoLang = promoteBuild2DoLang == 'true'
    189                                 architectureFlag = buildArchitecture == '64-bit' ? '-m64' : (buildArchitecture == '32-bit' ? '-m32' : 'ERROR')
    190 
    191                                 echo "FULL BUILD = ${doPromoteBuild2DoLang}\nArchitecture = ${buildArchitecture} (flag ${architectureFlag})"
     183
     184                                echo "FULL BUILD = ${doPromoteBuild2DoLang}"
    192185
    193186                                //Compile using gcc-4.9
     
    229222        finally {
    230223                //Send email with final results
    231                 //notify_result(doPromoteBuild2DoLang, err, currentBuild.result, log_needed)
     224                notify_result(doPromoteBuild2DoLang, err, currentBuild.result, log_needed)
    232225
    233226                /* Must re-throw exception to propagate error */
Note: See TracChangeset for help on using the changeset viewer.