Build 2 Jobs Concurrently With Default Jenkins Pipeline -


i build 2 projects @ same time since 1 64 bit , other 32 bit. have jenkins setup build both using 2 executors. when using jenkins pipeline scripting language, builds them sequentially instead of concurrently.

here script builds 32 bit project first , 64 bit

node('master') {     stage('build')     {         stage('32')         {             build 'short'         }          stage('64')         {             build 'long'         }     } } 

note - don't want use plugin workflow if don't have to

see jenkins book, advanced scripted pipeline, executing in parallel:

stage('build') {     parallel 32: {         ...     },     64: {         ...     } } 

and jenkins pipeline parallel.


Comments