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

Add ability to configure the xvnc command line from inside a pipeline script

XMLWordPrintable

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

      Right now it's possible to configure the xvnc plugin in the jenkins configuration but it doesn't seem possible to do so when using the plugin in a pipeline script (all you can configure is takeScreenshot and authority).

      See https://github.com/jenkinsci/xvnc-plugin/blob/master/src/main/java/hudson/plugins/xvnc/Xvnc.java#L93

      It would be nice to be able to control the command line when using it, with something like:

      wrap([$class: 'Xvnc', cmd = 'vncserver :$DISPLAY_NUMBER -nolisten tcp -geometry 1280x1024']) {
      ...
      }
      

            levsa Levon Saldamli
            vmassol Vincent Massol
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: