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

XVnc plugin fails to set the DISPLAY variable properly if jenkins already

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • xvnc-plugin
    • None

      If jenkins already hase the environment variable DISPLAY set then a job using the Xvnc plugin will see this global value instead of the one that Xvnc chooses.

      Example:
      I upgraded jenkins by doing an ssh to the master and running "sudo apt-get install jenkins". Because ssh forwards X the DISPLAY variable was set to "localhost:10" in jenkins.

      When Xvnc now runs the job it chooses a different value for DISPLAY, say "localhost:45". However, the job still sees the value "localhost:10" and fails because this is not a usable display.

          [JENKINS-20177] XVnc plugin fails to set the DISPLAY variable properly if jenkins already

          Martin Hans created issue -
          Oliver Gondža made changes -
          Link New: This issue depends on JENKINS-25946 [ JENKINS-25946 ]
          Oliver Gondža made changes -
          Link Original: This issue depends on JENKINS-25946 [ JENKINS-25946 ]
          Oliver Gondža made changes -
          Link New: This issue depends on JENKINS-26583 [ JENKINS-26583 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 151699 ] New: JNJira + In-Review [ 178038 ]

            levsa Levon Saldamli
            mhans Martin Hans
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: