Can only run first batch task post build

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major
    • Component/s: batch-task-plugin
    • None
    • Environment:
      Platform: All, OS: All

      Beginning somewhere between version 1.289 and 1.292, a problem was introduced
      into batch task configuration.

      When a project is configured with multiple batch tasks, and you set up a job to
      run a task post build, the first batch task is always run.

      Repro Steps:

      1 Get Hudson 1.292, with batch task plugin
      2 Configure a job with 3 batch tasks. Do not select running a job as a part of
      the build. Save configuration
      3 Re-enter job configuration, and choose "run batch tasks from another project"
      4 put in the name of this job
      5 verify that all three tasks above are in the list box, as they should be
      6 choose to run the third batch task in the list, then choose "Save"
      7 re-enter job configuration, and inspect the run batch tasks from another
      project setting.
      8 note that the first entry in the list is selected, which is the problem

      Desired Behavior:
      in step 8, the batch task displayed ( and run with the job ) should be the
      same as that selected in step 6.

            Assignee:
            Alan Harder
            Reporter:
            dcowden
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: