• Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • matrix-project-plugin
    • None
    • Jenkins 2.58 - 2.61, matrix 1.10 - 1.11

      Jenkins 2.61 (and at least as far back as 2.58) with the Matrix Project plugin 1.11 (and 1.10) are not  (always) running on their assigned node.

      I have a job that pushes backups into the cloud from a specific node, so it is important that the job runs on that node. The job has a user-defined axis which specifies the source directory, so that it can run multiple types of backup.

      When I run the job, the touchstone build runs on the assigned node and the job with the second axis value runs on the assigned node, but the job with the first axis value runs on a different node.

      As I changes the axis values, the job starts to run on different incorrect nodes.

      This appears to only happen on matrix jobs, not others. I'm not sure how long this has been happening for, as we don't otherwise have many matrix jobs that should run on one specific node only.

      I'm not sure if it's relevant, but when I configure the matrix jobs in question, the advanced section with the "Restrict where this project can be run" option is collapsed, as if it contains no configuration.

          [JENKINS-44286] Matrix jobs are not built on assigned node

          Note "Restrict where this project can be run" specifies where the parent build runs and does not influence children in any way. If you want to specify when children should run, use label (expression) axis.

          Oliver Gondža added a comment - Note "Restrict where this project can be run" specifies where the parent build runs and does not influence children in any way. If you want to specify when children should run, use label (expression) axis.

            kohsuke Kohsuke Kawaguchi
            cafuego Peter Lieverdink
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: