The following simple contrived pipeline will create more nodes than karaoke currently loads. 

      Ideally it would be able to cope with this number of nodes: 

      def lotsParallel(max = 11) {
      
      def build_tasks = [:]
      
      for (ii = 0; ii < max; ii++) {
      build_tasks["parallel-${ii}"] = {
      println "Number ${ii}"
      }
      }
      
      parallel build_tasks
      }
      
      node { 
      
      stage('one') {
      lotsParallel() 
      } 
      
      stage('two') {
      lotsParallel() 
      } 
      
      stage('thre') {
      lotsParallel() 
      } 
      
      stage('for') {
      lotsParallel() 
      } 
      
      stage('fave') {
      lotsParallel() 
      } 
      
      stage('seix') {
      lotsParallel() 
      } 
      
      stage('seben') {
      lotsParallel() 
      } 
      
      stage('ate') {
      lotsParallel() 
      } 
      
      stage('nine') {
      lotsParallel() 
      } 
      
      stage('ten') {
      lotsParallel() 
      } 
      
      
      }

          [JENKINS-43206] relax limit for karaoke nodes

          Michael Neale added a comment -

          I am mostly putting this here so I can find the little script to create lots of parallel branches. 

          Michael Neale added a comment - I am mostly putting this here so I can find the little script to create lots of parallel branches. 

            Unassigned Unassigned
            michaelneale Michael Neale
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: