• Icon: Improvement Improvement
    • Resolution: Not A Defect
    • Icon: Major Major
    • xvfb-plugin
    • None
    • CentOS6 x86_64

      It would be great if there is an option to run a cmd with the start / stop of xvfb. This way it would be possible e.g. to record a screencast of the xvfb contents using ffmpeg.

      Example:
      ffmpeg -f x11grab -vc x264 -s vga -r 30 -b 2000k -g 300 -i :$DISPLAY.0 $build_nr.avi

          [JENKINS-17308] Add option to run command

          zregvart added a comment -

          Hi Robert, wouldn't it be easier to use a freestyle build with Execute shell build step to launch ffmpeg, you can use shell job control to launch and stop ffmpeg?

          It somehow doesn't fit with the Xvfb to have functionality other than starting Xvfb. Although it would be nice to have a plugin that records the display of the build and attaches the recording as build artifact, I will look into that, time permitting.

          zregvart added a comment - Hi Robert, wouldn't it be easier to use a freestyle build with Execute shell build step to launch ffmpeg, you can use shell job control to launch and stop ffmpeg? It somehow doesn't fit with the Xvfb to have functionality other than starting Xvfb. Although it would be nice to have a plugin that records the display of the build and attaches the recording as build artifact, I will look into that, time permitting.

          zregvart added a comment -

          The xvfb plugin shies away from doing anything more than controlling the Xvfb. This kind of requirement is better handled by Execute shell build step in a freestyle project.

          zregvart added a comment - The xvfb plugin shies away from doing anything more than controlling the Xvfb. This kind of requirement is better handled by Execute shell build step in a freestyle project.

          zregvart added a comment -

          Closing resloved issues

          zregvart added a comment - Closing resloved issues

            zregvart zregvart
            robertoschwald Robert Oschwald
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: