- Timestamp:
- Jul 15, 2016, 7:06:53 PM (8 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 121f499
- Parents:
- 83dccdd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Jenkins/FullBuild
r83dccdd rad5b73e 28 28 // Main loop of the compilation 29 29 //=========================================================================================================== 30 node ('master') { 31 try { 32 //Prevent the build from exceeding 30 minutes 33 timeout(60) { 30 34 31 try { 32 //Prevent the build from exceeding 30 minutes 33 timeout(60) { 35 //Wrap build to add timestamp to command line 36 wrap([$class: 'TimestamperBuildWrapper']) { 34 37 35 //Wrap build to add timestamp to command line 36 wrap([$class: 'TimestamperBuildWrapper']) { 38 stage 'Build' 37 39 38 stage 'Build'40 results = [null, null] 39 41 40 results = [null, null] 42 parallel ( 43 x64: { 44 result[0] = build job: 'Cforall/master', \ 45 parameters: [ \ 46 [$class: 'BooleanParameterValue', \ 47 name: 'isFullBuild', \ 48 value: true], \ 49 [$class: 'StringParameterValue', \ 50 name: 'buildArchitecture', \ 51 value: '64-bit'] \ 52 ] 53 }, 54 x32: 55 { 56 result[1] = build job: 'Cforall/master', \ 57 parameters: [ \ 58 [$class: 'BooleanParameterValue', \ 59 name: 'isFullBuild', \ 60 value: true], \ 61 [$class: 'StringParameterValue', \ 62 name: 'buildArchitecture', \ 63 value: '32-bit'] \ 64 ] 65 } 66 ) 41 67 42 parallel ( 43 x64: { 44 result[0] = build job: 'Cforall/master', \ 45 parameters: [ \ 46 [$class: 'BooleanParameterValue', \ 47 name: 'isFullBuild', \ 48 value: true], \ 49 [$class: 'StringParameterValue', \ 50 name: 'buildArchitecture', \ 51 value: '64-bit'] \ 52 ] 53 }, 54 x32: 55 { 56 result[1] = build job: 'Cforall/master', \ 57 parameters: [ \ 58 [$class: 'BooleanParameterValue', \ 59 name: 'isFullBuild', \ 60 value: true], \ 61 [$class: 'StringParameterValue', \ 62 name: 'buildArchitecture', \ 63 value: '32-bit'] \ 64 ] 68 results.each { result -> 69 echo(result.result) 70 echo(result.absoluteUrl) 71 72 if (result.result != 'SUCCESS') { 73 echo( 'Build Succeded' ) 74 } 65 75 } 66 )67 76 68 results.each { result -> 69 echo(result.result) 70 echo(result.absoluteUrl) 71 72 if (result.result != 'SUCCESS') { 73 echo( 'Build Succeded' ) 74 } 75 } 76 77 //Push latest changes to do-lang repo 78 push_build() 77 //Push latest changes to do-lang repo 78 push_build() 79 } 79 80 } 80 81 } 81 82 } 82 83 83 //If an exception is caught we need to change the status and remember to 84 84 //attach the build log to the email
Note: See TracChangeset
for help on using the changeset viewer.