Pull Request and pipeline agent

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

XMLWordPrintable

    • Type: Bug
    • Resolution: Cannot Reproduce
    • Priority: Blocker
    • Component/s: pipeline
    • Environment:
      WS2019, Jenkins 2.332.1, see attachment for plug-ins/versions

      Similar symptoms to JENKINS-52216 Pull Request and pipeline agent - Jenkins Jira

      Jenkinsfile specifies agent label:

      pipeline {

        agent { label 'agent-name'}

        environment { ...

      And this works fine for Feature branch work but Pull Requests seem to ignore this and try and build on the Jenkins Controller which then breaks.

        1. 20221025_plugins.txt
          8 kB
          Martin Dowie
        2. image-2022-10-26-08-45-48-623.png
          29 kB
          Martin Dowie
        3. image-2022-10-26-08-45-57-293.png
          49 kB
          Martin Dowie

            Assignee:
            Unassigned
            Reporter:
            Martin Dowie
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: