Changes in Jenkinsfile [6ebc13f:af43394]
- File:
-
- 1 edited
-
Jenkinsfile (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
Jenkinsfile
r6ebc13f raf43394 4 4 // Main loop of the compilation 5 5 //=========================================================================================================== 6 node ('master'){ 7 6 7 node('master') { 8 8 // Globals 9 BuildDir = pwd tmp: true10 SrcDir = pwd tmp: false9 BuildDir = null 10 SrcDir = null 11 11 Settings = null 12 12 StageName = '' … … 26 26 Settings = prepare_build() 27 27 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 } 43 48 44 49 notify_server(45) … … 75 80 } 76 81 } 77 78 82 //=========================================================================================================== 79 83 // Main compilation routines … … 250 254 public String name 251 255 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) { 254 259 this.name = name 255 260 this.flags = flags 261 this.node = node 256 262 } 257 263 } … … 292 298 switch( param.Architecture ) { 293 299 case 'x64': 294 this.Architecture = new Arch_Desc('x64', '--host=x86_64' )300 this.Architecture = new Arch_Desc('x64', '--host=x86_64', 'master') 295 301 break 296 302 case 'x86': 297 this.Architecture = new Arch_Desc('x86', '--host=i386' )303 this.Architecture = new Arch_Desc('x86', '--host=i386', 'master') 298 304 break 299 305 default :
Note:
See TracChangeset
for help on using the changeset viewer.