Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Jenkinsfile

    rd56c05d0 rdeefdc1  
    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                                                 ]]                                                                      \
     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                                                ]]                                                              \
    180186                                        ]])
    181187
    182188                                doPromoteBuild2DoLang = promoteBuild2DoLang == 'true'
    183 
    184                                 echo "FULL BUILD = ${doPromoteBuild2DoLang}"
     189                                architectureFlag = buildArchitecture == '64-bit' ? '-m64' : (buildArchitecture == '32-bit' ? '-m32' : 'ERROR')
     190
     191                                echo "FULL BUILD = ${doPromoteBuild2DoLang}\nArchitecture = ${buildArchitecture} (flag ${architectureFlag})"
    185192
    186193                                //Compile using gcc-4.9
     
    222229        finally {
    223230                //Send email with final results
    224                 notify_result(doPromoteBuild2DoLang, err, currentBuild.result, log_needed)
     231                //notify_result(doPromoteBuild2DoLang, err, currentBuild.result, log_needed)
    225232
    226233                /* Must re-throw exception to propagate error */
Note: See TracChangeset for help on using the changeset viewer.