Uploaded image for project: 'Yetus'
  1. Yetus
  2. YETUS-786

JENKINS_URL is not always populated in a pipeline docker agent

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 0.9.0
    • 0.10.0
    • Precommit
    • None
    • Jenkins 2.161.1
      Docker Pipeline 1.17
      OS X

    Description

      After a lot of debugging, it appears that Jenkins doesn't always publish the JENKINS_URL env var when pipeline docker agents are used. Ironically, HUDSON_URL appears to be consistently defined in both freestyle and pipelines. We need to add code to jenkins.sh to work around this Jenkins bug.

      Attachments

        1. YETUS-786.01.patch
          1 kB
          Allen Wittenauer
        2. YETUS-786.00.patch
          0.8 kB
          Allen Wittenauer

        Activity

          People

            aw Allen Wittenauer
            aw Allen Wittenauer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: