(source_path,
destination_path,
progress_reporter)
| 1327 | end |
| 1328 | |
| 1329 | def copy_artifact(source_path, |
| 1330 | destination_path, |
| 1331 | progress_reporter) |
| 1332 | return if same_content?(source_path, destination_path) |
| 1333 | progress_reporter.increment_max |
| 1334 | destination_dir = File.dirname(destination_path) |
| 1335 | unless File.exist?(destination_dir) |
| 1336 | mkdir_p(destination_dir, verbose: verbose?) |
| 1337 | end |
| 1338 | cp(source_path, destination_path, verbose: verbose?) |
| 1339 | progress_reporter.advance |
| 1340 | end |
| 1341 | |
| 1342 | def prepare_staging(base_path) |
| 1343 | client = ArtifactoryClient.new(nil, artifactory_api_key) |
nothing calls this directly
no test coverage detected