Sha256: 220704993ec48831ddb0e8479a2e790b2e732e168207d3d2a2f58f22d692f3e4

Contents?: true

Size: 632 Bytes

Versions: 5

Compression:

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

5 entries across 5 versions & 1 rubygems

Version Path
rubyjobbuilderdsl-0.0.5 lib/rubyjobbuilderdsl/common/artifactory.rb
rubyjobbuilderdsl-0.0.3 lib/rubyjobbuilderdsl/common/artifactory.rb
rubyjobbuilderdsl-0.0.2 lib/rubyjobbuilderdsl/common/artifactory.rb
rubyjobbuilderdsl-0.0.1 lib/rubyjobbuilderdsl/common/artifactory.rb
rubyjobbuilderdsl-0.0.0 lib/rubyjobbuilderdsl/common/artifactory.rb