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

Xvnc plugin only looks for .pid files not .log files

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

      I short, it seems like the latest version of Xvnc is outputting a .log file by default, and the Jenkins Xvnc plug-in is only looking for .pid files when cleaning up after the job has run. It seems like all that needs to be done is look for both .pid and .log files in the cleanup step.

      Example log file:

      Started by user Foo
      ...
      Starting xvnc
      [Job Name] $ vncserver :66 -geometry 1280x1024 -depth 24
      sh: 1: Syntax error: "(" unexpected
      sh: 1: Syntax error: "(" unexpected
      
      New '36e5ed42de5a:66 (jenkins)' desktop is 36e5ed42de5a:66
      
      Starting applications specified in /home/jenkins/.vnc/xstartup
      Log file is /home/jenkins/.vnc/36e5ed42de5a:66.log
      
      ...
      
      Terminating xvnc.
      $ vncserver -kill :66
      
      Can't find file /home/jenkins/.vnc/36e5ed42de5a:66.pid
      You'll have to kill the Xvnc4 process manually
      
      Finished: SUCCESS
      

          [JENKINS-30602] Xvnc plugin only looks for .pid files not .log files

          Hays Clark created issue -
          Hays Clark made changes -
          Priority Original: Major [ 3 ] New: Minor [ 4 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 165714 ] New: JNJira + In-Review [ 182104 ]

            levsa Levon Saldamli
            infinite Hays Clark
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: