• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • xvfb-plugin
    • None

      The docs say displayName is "(default) choosen by random"

      The code comments on the variable say "DISPLAY name, if NULL chosen by random."

      The actual contents of src/main/java/org/jenkinsci/plugins/xvfb/XvfbBuildWrapper.java L470 say that it will always use executor.getNumber() + displayNameOffset - which always returns displayNameOffset (default 1).

      As a result, DISPLAY is always 1.

      Using autoDisplayName is not an option, because it requires a version of Xvfb far too new for our builders (1.14 I think?)

          [JENKINS-26848] Does not actually randomize DISPLAY

          Jo Shields created issue -
          zregvart made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          zregvart made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 161022 ] New: JNJira + In-Review [ 208421 ]

            zregvart zregvart
            directhex Jo Shields
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: