Changeset f408e1a


Ignore:
Timestamp:
May 8, 2017, 3:07:02 PM (7 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
19801aa, 298581c, 4810867, 8f16086
Parents:
620dd2b
Message:

Removed timeout in jenkins build (tests still have timeouts in python scripts)

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Jenkins/FullBuild

    r620dd2b rf408e1a  
    99
    1010        try {
    11                 //Prevent the build from exceeding 30 minutes
    12                 timeout(60) {
     11                //Wrap build to add timestamp to command line
     12                wrap([$class: 'TimestamperBuildWrapper']) {
    1313
    14                         //Wrap build to add timestamp to command line
    15                         wrap([$class: 'TimestamperBuildWrapper']) {
     14                        stage('Build') {
    1615
    17                                 stage 'Build'
     16                                results = [null, null]
    1817
    19                                         results = [null, null]
     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                                )
     28                        }
    2029
    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()
    34                         }
     30                        //Push latest changes to do-lang repo
     31                        push_build()
    3532                }
    3633        }
     
    9996def push_build() {
    10097        //Don't use the build_stage function which outputs the compiler
    101         stage 'Push'
     98        stage('Push') {
    10299
    103100                status_prefix = 'Push'
     
    122119                //sh "GIT_SSH_COMMAND=\"ssh -v\" git push DoLang ${gitRefNewValue}:master"
    123120                echo('BUILD NOT PUSH SINCE DO-LANG SERVER WAS DOWN')
     121        }
    124122}
    125123
  • Jenkinsfile

    r620dd2b rf408e1a  
    2828                wrap([$class: 'TimestamperBuildWrapper']) {
    2929
    30                         //Prevent the build from exceeding 60 minutes
    31                         timeout(60) {
    32 
    33                                 notify_server()
    34 
    35                                 prepare_build()
    36 
    37                                 checkout()
    38 
    39                                 build()
    40 
    41                                 test()
    42 
    43                                 benchmark()
    44 
    45                                 clean()
    46 
    47                                 build_doc()
    48 
    49                                 publish()
    50 
    51                                 notify_server()
    52                         }
     30                        notify_server()
     31
     32                        prepare_build()
     33
     34                        checkout()
     35
     36                        build()
     37
     38                        test()
     39
     40                        benchmark()
     41
     42                        clean()
     43
     44                        build_doc()
     45
     46                        publish()
     47
     48                        notify_server()
    5349                }
    5450        }
Note: See TracChangeset for help on using the changeset viewer.