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

Matrix Jobs Do Not Get Run When Updating a Dynamic Axis

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • matrix-project-plugin
    • None
    • Windows

    Description

      I have a top level job X. In X, I am using kicking off job Y using the File Parameter Factory option in parameterized builds. The configuration files contain a property, axis_values, which is a space separated list of different axis's for job Y.

      Let's say that job X has one configuration file and it contains axis_values=A B C. I kick off job X, which in turn kicks one instance of job Y. Job Y iterates correctly through A, B and C.

      Next, I change the configuration file and I set axis_values=A B C D E. I kick off job X and job Y starts. Job Y runs correctly for A, B and C. But, job Y fails to run D and E. It says that "D appears to be cancelled" and "E appears to be cancelled".

      I see the following in the log:

      31-May-2013 3:57:48 PM hudson.model.Executor run
      SEVERE: Executor threw an exception
      java.lang.NullPointerException
      at hudson.model.Executor.run(Executor.java:238)

      The only workaround that I have found is that it will work correctly if I put the new values at the start of the axis. (ie. axis_values=D E A B C)

      List of (possibly) relevant plugins installed;

      • dynamic axis
      • environment injector
      • jenkins parameterized trigger
      • matrix sorter
      • node and label parameter plugin

      Attachments

        Issue Links

          Activity

            People

              oleg_nenashev Oleg Nenashev
              timjohnston tim johnston
              Votes:
              11 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: