Changes in Jenkinsfile [deefdc1:d56c05d0]
- File:
-
- 1 edited
-
Jenkinsfile (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
Jenkinsfile
rdeefdc1 rd56c05d0 176 176 defaultValue: false, \ 177 177 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 ]] \ 186 180 ]]) 187 181 188 182 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}" 192 185 193 186 //Compile using gcc-4.9 … … 229 222 finally { 230 223 //Send email with final results 231 //notify_result(doPromoteBuild2DoLang, err, currentBuild.result, log_needed)224 notify_result(doPromoteBuild2DoLang, err, currentBuild.result, log_needed) 232 225 233 226 /* Must re-throw exception to propagate error */
Note:
See TracChangeset
for help on using the changeset viewer.