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

Pull Request and pipeline agent

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Blocker Blocker
    • pipeline
    • None
    • 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

            Unassigned Unassigned
            martin090968 Martin Dowie
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: