Sha256: a0bea30dfd6abb8a98b49315aab0d485867742daa8f38da75ea9fb1912683bb9

Contents?: true

Size: 599 Bytes

Versions: 3

Compression:

Stored size: 599 Bytes

Contents

module JenkinsJob
  module Common
    class Artifactory < BasicObject
      attr_reader :server_, :repository_, :deploy_, :resolve_, :build_info_

      def initialize
        @deploy_ = []
        @resolve_  = []
        @build_info_  = false
      end

      def server(value)
        @server_ = value
      end

      def repository(value)
        @repository_ = value
      end

      def deploy(*value)
        @deploy_ = value
      end

      def resolve(*value)
        @resolve_ = value
      end

      def build_info(value = true)
        @build_info_ = value
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rubyjobbuilderdsl-0.0.8 lib/rubyjobbuilderdsl/common/artifactory.rb
rubyjobbuilderdsl-0.0.6 lib/rubyjobbuilderdsl/common/artifactory.rb
rubyjobbuilderdsl-0.0.4 lib/rubyjobbuilderdsl/common/artifactory.rb