Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-43206

relax limit for karaoke nodes

    XMLWordPrintable

Details

    Description

      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() 
      } 
      
      
      }

      Attachments

        Activity

          michaelneale Michael Neale added a comment -

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

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

          People

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

            Dates

              Created:
              Updated: