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

build_agent_name not working with Global Listener

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • influxdb-plugin
    • None
    • Jenkins 2.190.1
      InfluxDB Plugin 2.0.2
    • 2.5

      I just tried out the Global Listener feature and it seems to work great, except build_agent_name is always blank. This works fine for me if I disable Global Listener and use influxDbPublisher() in my Jenkinsfile so at least there is a workaround. I'm guessing this has something to do with the global listener not seeing the NODE_NAME environment variable.

          [JENKINS-60284] build_agent_name not working with Global Listener

          Andy Taylor created issue -
          Aleksi Simell made changes -
          Released As New: 2.5
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Aleksi Simell made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]

            aleksisimell Aleksi Simell
            andytaylorzeetta Andy Taylor
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: