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

Add option to run command

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Not A Defect
    • xvfb-plugin
    • None
    • CentOS6 x86_64

    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

            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.

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

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

            Closing resloved issues

            zregvart zregvart added a comment - Closing resloved issues

            People

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

              Dates

                Created:
                Updated:
                Resolved: