Sha256: 92d5d0364f9fe2196445df4ee1b22350efdb25502644e2474e5ffd2d55f776b5

Contents?: true

Size: 1.01 KB

Versions: 3

Compression:

Stored size: 1.01 KB

Contents

module JenkinsJob
  module BuildStep
    class Xvfb < BasicObject
      attr_reader :install_name_, :screen_, :debug_, :timeout_, :display_name_offset_, :shutdown_with_build_, :auto_display_name_, :parallel_build_

      def initialize
        @install_name_ = 'Xvfb'
        @screen_ = '1024x768x24'
        @debug_ = false
        @timeout_ = 0
        @display_name_offset_ = 1
        @shutdown_with_build_ = false
        @auto_display_name_ = true
        @parallel_build_ = false
      end

      def install_name(value)
        @install_name_ = value
      end

      def screen(value)
        @screen_ = value
      end

      def timeout(value)
        @timeout_ = value
      end

      def display_name_offset(value)
        @display_name_offset_ = value
      end

      def shutdown_with_build(value)
        @shutdown_with_build_ = value
      end

      def auto_display_name(value)
        @auto_display_name_ = value
      end

      def parallel_build(value)
        @parallel_build_ = value
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rubyjobbuilderdsl-0.0.8 lib/rubyjobbuilderdsl/buildstep/xvfb.rb
rubyjobbuilderdsl-0.0.6 lib/rubyjobbuilderdsl/buildstep/xvfb.rb
rubyjobbuilderdsl-0.0.4 lib/rubyjobbuilderdsl/buildstep/xvfb.rb