Changeset 1d832f4 for Jenkinsfile


Ignore:
Timestamp:
Jan 23, 2019, 3:16:51 PM (5 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer, pthread-emulation, qualifiedEnum
Children:
4fd45bc, a3e8281, cde3891
Parents:
0c13238 (diff), af43394 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'jenkins-sandbox'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Jenkinsfile

    r0c13238 r1d832f4  
    44// Main loop of the compilation
    55//===========================================================================================================
    6 node ('master'){
    7 
     6
     7node('master') {
    88        // Globals
    9         BuildDir  = pwd tmp: true
    10         SrcDir    = pwd tmp: false
     9        BuildDir  = null
     10        SrcDir    = null
    1111        Settings  = null
    1212        StageName = ''
     
    2626                        Settings = prepare_build()
    2727
    28                         clean()
    29 
    30                         checkout()
    31 
    32                         notify_server(0)
    33 
    34                         build()
    35 
    36                         test()
    37 
    38                         benchmark()
    39 
    40                         build_doc()
    41 
    42                         publish()
     28                        node(Settings.Architecture.node) {
     29                                BuildDir  = pwd tmp: true
     30                                SrcDir    = pwd tmp: false
     31
     32                                clean()
     33
     34                                checkout()
     35
     36                                notify_server(0)
     37
     38                                build()
     39
     40                                test()
     41
     42                                benchmark()
     43
     44                                build_doc()
     45
     46                                publish()
     47                        }
    4348
    4449                        notify_server(45)
     
    7580        }
    7681}
    77 
    7882//===========================================================================================================
    7983// Main compilation routines
     
    250254        public String name
    251255        public String flags
    252 
    253         Arch_Desc(String name, String flags) {
     256        public String node
     257
     258        Arch_Desc(String name, String flags, String node) {
    254259                this.name  = name
    255260                this.flags = flags
     261                this.node  = node
    256262        }
    257263}
     
    292298                switch( param.Architecture ) {
    293299                        case 'x64':
    294                                 this.Architecture = new Arch_Desc('x64', '--host=x86_64')
     300                                this.Architecture = new Arch_Desc('x64', '--host=x86_64', 'master')
    295301                        break
    296302                        case 'x86':
    297                                 this.Architecture = new Arch_Desc('x86', '--host=i386')
     303                                this.Architecture = new Arch_Desc('x86', '--host=i386', 'master')
    298304                        break
    299305                        default :
Note: See TracChangeset for help on using the changeset viewer.