class Artifact
Public Class Methods
new()
click to toggle source
# File lib/eops/artifact.rb, line 2 def initialize end
Public Instance Methods
add_timestamp(build_identifier, artifact)
click to toggle source
# File lib/eops/artifact.rb, line 5 def add_timestamp(build_identifier, artifact) timestamp = Time.now.strftime("%Y.%m.%d.%H.%M.%S.%L") stamped_artifact = "#{artifact}-#{build_identifier}-#{timestamp}" return stamped_artifact end