Sha256: e14351f45da3d0c0a4979aea8d30ce6cd5bd203fc362f3e409ced80d27f969e9

Contents?: true

Size: 499 Bytes

Versions: 5

Compression:

Stored size: 499 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

5 entries across 5 versions & 1 rubygems

Version Path
rubyjobbuilderdsl-0.0.5 lib/rubyjobbuilderdsl/postbuild/logparser.rb
rubyjobbuilderdsl-0.0.3 lib/rubyjobbuilderdsl/postbuild/logparser.rb
rubyjobbuilderdsl-0.0.2 lib/rubyjobbuilderdsl/postbuild/logparser.rb
rubyjobbuilderdsl-0.0.1 lib/rubyjobbuilderdsl/postbuild/logparser.rb
rubyjobbuilderdsl-0.0.0 lib/rubyjobbuilderdsl/postbuild/logparser.rb