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

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

XMLWordPrintable

    • 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
      

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

              Created:
              Updated: