Sha256: 487fdc05d2d8aeb35a2dfbe45f170faaa8ffa2d79b439129a064e894fba8f100

Contents?: true

Size: 478 Bytes

Versions: 3

Compression:

Stored size: 478 Bytes

Contents

module JenkinsJob
  module Postbuild
    class LogParser < BasicObject
      attr_reader :rule_file_, :unstable_on_warning_, :fail_on_error_

      def initialize(rule_file)
        @rule_file_ = rule_file
        @unstable_on_warning_ = false
        @fail_on_error_ = false
      end

      def unstable_on_warning(value = true)
        @unstable_on_warning_ = value
      end

      def fail_on_error(value = true)
        @fail_on_error_ = value
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rubyjobbuilderdsl-0.0.8 lib/rubyjobbuilderdsl/postbuild/logparser.rb
rubyjobbuilderdsl-0.0.6 lib/rubyjobbuilderdsl/postbuild/logparser.rb
rubyjobbuilderdsl-0.0.4 lib/rubyjobbuilderdsl/postbuild/logparser.rb