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

Invoke Batch Tasks should support Folder absolute path

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • batch-task-plugin
    • Jenkins 1.642.2
      Folders Plugin 5.11
      Batch Task Plugin 1.17

      When using folders (plugin), the batch tasks to be triggered must be referenced with an absolute path: while the task suggestion field works fine with a relative job path during configuration, the batch task is not properly configured in the later screens.

      Let's consider a folder named aFolder with a job named aJob; that job has a batch task named aBatchTask

      On http://.../jenkins/job/aFolder/job/aJob/configure :
      Add an Invoke batch tasks post build step with two tasks, one absolute and one relative:

      • Project: /aFolder/aJob
      • Task: aBatchTask
      • Project: aJob
      • Task: aBatchTask

      On http://.../jenkins/job/aFolder/job/aJob :
      The "Downstream Tasks" lists:

      • aFolder » aJob » aBatchTask
      • Invalid entry: aJob » aBatchTask

      An absolute job reference seems to be required here.

          [JENKINS-35188] Invoke Batch Tasks should support Folder absolute path

          Julien Carsique created issue -
          Félix Belzunce Arcos made changes -
          Assignee Original: Kohsuke Kawaguchi [ kohsuke ] New: Félix Belzunce Arcos [ fbelzunc ]
          Félix Belzunce Arcos made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Julien Carsique made changes -
          Summary Original: Invoke Batch Tasks must support Folders New: Invoke Batch Tasks should support Folder relative path
          Julien Carsique made changes -
          Summary Original: Invoke Batch Tasks should support Folder relative path New: Invoke Batch Tasks should support Folder absolute path
          Félix Belzunce Arcos made changes -
          Component/s Original: cloudbees-folder-plugin [ 18137 ]
          Félix Belzunce Arcos made changes -
          Labels New: folders
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 171411 ] New: JNJira + In-Review [ 185753 ]

            fbelzunc Félix Belzunce Arcos
            jcarsique Julien Carsique
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: