jenkins - Run stages in multiple nodes -


i have declarative pipeline. in pipeline want various stages not executed 1 multiple nodes (later stages, node specific, depend on these). somehow possible?

sure, can select different nodes in different stages based on label:

pipeline {   agent none   stages {     stage('build') {       steps {         node('docker') {           sh 'echo $hostname'         }       }     }     stage('test') {       steps {         node('rbenv') {           sh 'echo $hostname'         }       }     }   } } 

does make sense?


Comments

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -