jenkins pipeline parallel console log overline

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Minor
    • Component/s: pipeline
    • Environment:

      Pipeline Library: (It is a job that batch executes jobs.)
      def call(TaskService ts, Integer maxParallel, Map executeStatus) {
      def actionManifests = new ConcurrentLinkedDeque(ts.actions)

      def actionController = {
      def action = [:]
      def actionManifest

      while(true) {

      try

      { actionManifest = actionManifests.pop() }

      catch (NoSuchElementException e)

      { break }

      try

      { build([ propagate: true, job: actionManifest.action_name, parameters: [ string(name: 'INPUT', value: action.input), ] ]) executeStatus.successful++ }

      catch(Exception e)

      { executeStatus.failed++ }

      println "END => ${actionManifest.name}(${actionManifest.order_num})"
      }
      }

      def parallelActionPool = [:]
      maxParallel.times

      { parallelActionPool[it] = actionController }

      parallel parallelActionPool
      }

      Logs are overlapping on one line.

      View as plain text

            Assignee:
            Unassigned
            Reporter:
            li
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: