Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Jenkins/FullBuild

    rf408e1a r3831b58  
    99
    1010        try {
    11                 //Wrap build to add timestamp to command line
    12                 wrap([$class: 'TimestamperBuildWrapper']) {
     11                //Prevent the build from exceeding 30 minutes
     12                timeout(60) {
    1313
    14                         stage('Build') {
     14                        //Wrap build to add timestamp to command line
     15                        wrap([$class: 'TimestamperBuildWrapper']) {
    1516
    16                                 results = [null, null]
     17                                stage 'Build'
    1718
    18                                 parallel (
    19                                         gcc_6_x64: { trigger_build( 'gcc-6',   'x64', true  ) },
    20                                         gcc_6_x86: { trigger_build( 'gcc-6',   'x86', true  ) },
    21                                         gcc_5_x64: { trigger_build( 'gcc-5',   'x64', false ) },
    22                                         gcc_5_x86: { trigger_build( 'gcc-5',   'x86', false ) },
    23                                         gcc_4_x64: { trigger_build( 'gcc-4.9', 'x64', false ) },
    24                                         gcc_4_x86: { trigger_build( 'gcc-4.9', 'x86', false ) },
    25                                         clang_x64: { trigger_build( 'clang',   'x64', false ) },
    26                                         clang_x86: { trigger_build( 'clang',   'x86', false ) },
    27                                 )
     19                                        results = [null, null]
     20
     21                                        parallel (
     22                                                gcc_6_x64: { trigger_build( 'gcc-6',   'x64', true  ) },
     23                                                gcc_6_x86: { trigger_build( 'gcc-6',   'x86', true  ) },
     24                                                gcc_5_x64: { trigger_build( 'gcc-5',   'x64', false ) },
     25                                                gcc_5_x86: { trigger_build( 'gcc-5',   'x86', false ) },
     26                                                gcc_4_x64: { trigger_build( 'gcc-4.9', 'x64', false ) },
     27                                                gcc_4_x86: { trigger_build( 'gcc-4.9', 'x86', false ) },
     28                                                clang_x64: { trigger_build( 'clang',   'x64', false ) },
     29                                                clang_x86: { trigger_build( 'clang',   'x86', false ) },
     30                                        )
     31
     32                                //Push latest changes to do-lang repo
     33                                push_build()
    2834                        }
    29 
    30                         //Push latest changes to do-lang repo
    31                         push_build()
    3235                }
    3336        }
     
    9699def push_build() {
    97100        //Don't use the build_stage function which outputs the compiler
    98         stage('Push') {
     101        stage 'Push'
    99102
    100103                status_prefix = 'Push'
     
    119122                //sh "GIT_SSH_COMMAND=\"ssh -v\" git push DoLang ${gitRefNewValue}:master"
    120123                echo('BUILD NOT PUSH SINCE DO-LANG SERVER WAS DOWN')
    121         }
    122124}
    123125
Note: See TracChangeset for help on using the changeset viewer.