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