Changeset ad5b73e


Ignore:
Timestamp:
Jul 15, 2016, 7:06:53 PM (8 years ago)
Author:
Thierry Delisle <tdelisle@…>
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
Message:

added missing node statement in jenkins fullbuild script

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Jenkins/FullBuild

    r83dccdd rad5b73e  
    2828// Main loop of the compilation
    2929//===========================================================================================================
     30node ('master') {
     31        try {
     32                //Prevent the build from exceeding 30 minutes
     33                timeout(60) {
    3034
    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']) {
    3437
    35                 //Wrap build to add timestamp to command line
    36                 wrap([$class: 'TimestamperBuildWrapper']) {
     38                                stage 'Build'
    3739
    38                         stage 'Build'
     40                                        results = [null, null]
    3941
    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                                        )
    4167
    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                                                }
    6575                                        }
    66                                 )
    6776
    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                        }
    7980                }
    8081        }
    8182}
    82 
    8383//If an exception is caught we need to change the status and remember to
    8484//attach the build log to the email
Note: See TracChangeset for help on using the changeset viewer.