2022-01-07 19:45:53 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
|
|
module Jenkins
|
|
|
|
|
class DryRun
|
|
|
|
|
include IssueParser
|
|
|
|
|
|
|
|
|
|
def initialize(_, command)
|
|
|
|
|
@source_url = command.options["source-url"]
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
def to_a
|
|
|
|
|
return if @source_url.nil?
|
|
|
|
|
|
2023-07-31 16:45:40 -07:00
|
|
|
[["--source-url", @source_url]]
|
2022-01-07 19:45:53 +00:00
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
end
|