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

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -