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

Add option to run command

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Not A Defect
    • Component/s: xvfb-plugin
    • Labels:
      None
    • Environment:
      CentOS6 x86_64
    • Similar Issues:

      Description

      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

        Attachments

          Issue Links

            Activity

            Hide
            zregvart 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.

            Show
            zregvart 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.
            Hide
            zregvart 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.

            Show
            zregvart 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.
            Hide
            zregvart zregvart added a comment -

            Closing resloved issues

            Show
            zregvart zregvart added a comment - Closing resloved issues

              People

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

                Dates

                Created:
                Updated:
                Resolved: