class Highway::Steps::Library::CopyArtifactsStep
Public Class Methods
name()
click to toggle source
# File lib/highway/steps/library/copy_artifacts.rb, line 14 def self.name "copy_artifacts" end
parameters()
click to toggle source
# File lib/highway/steps/library/copy_artifacts.rb, line 18 def self.parameters [ Parameters::Single.new( name: "path", required: true, type: Types::String.new(), ) ] end
run(parameters:, context:, report:)
click to toggle source
# File lib/highway/steps/library/copy_artifacts.rb, line 28 def self.run(parameters:, context:, report:) FileUtils.copy_entry(context.artifacts_dir, parameters["path"], false, false, false) end