Skip to content

Commit bc0eb00

Browse files
committed
fix: update artifact download success messages to include file URI format
1 parent 5fffbe7 commit bc0eb00

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

src/core/command-runner.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1296,7 +1296,7 @@ ${variableGroups.map((group: any) => ` - ${group.name}`).join('\n')}`);
12961296
branchId: params.branchId,
12971297
profileId: params.profileId
12981298
}, downloadPath, artifactFileName);
1299-
artifactSpinner.succeed(`Artifacts downloaded successfully to ${path.join(downloadPath, artifactFileName)}`);
1299+
artifactSpinner.succeed(`Artifacts downloaded successfully: file://${path.join(downloadPath, artifactFileName)}`);
13001300
} catch (e: any) {
13011301
artifactSpinner.fail(`Cannot download artifact since the build failed: ${e.message}`);
13021302
}
@@ -1354,11 +1354,9 @@ ${variableGroups.map((group: any) => ` - ${group.name}`).join('\n')}`);
13541354
branchId: params.branchId,
13551355
profileId: params.profileId
13561356
}, artifactDownloadPath, artifactFileName);
1357-
artifactSpinner.succeed(`Artifacts downloaded successfully to ${path.join(artifactDownloadPath, artifactFileName)}`);
1358-
console.log(chalk.green('Build completed successfully with artifacts downloaded.'));
1357+
artifactSpinner.succeed(`Artifacts downloaded successfully: file://${path.join(artifactDownloadPath, artifactFileName)}`);
13591358
} catch (e: any) {
13601359
artifactSpinner.fail(`Cannot download artifact since the build failed: ${e.message}`);
1361-
console.log(chalk.yellow('Build completed successfully but artifact download failed.'));
13621360
}
13631361
} else {
13641362
console.log(chalk.yellow('Build completed successfully but could not get artifact information.'));
@@ -1480,7 +1478,7 @@ ${variableGroups.map((group: any) => ` - ${group.name}`).join('\n')}`);
14801478
branchId: params.branchId,
14811479
profileId: params.profileId
14821480
}, downloadPath, artifactFileName);
1483-
artifactSpinner.succeed(`Artifacts downloaded successfully to ${path.join(downloadPath, artifactFileName)}`);
1481+
artifactSpinner.succeed(`Artifacts downloaded successfully: file://${path.join(downloadPath, artifactFileName)}`);
14841482
} catch (e: any) {
14851483
artifactSpinner.fail(`Cannot download artifact since the build failed: ${e.message}`);
14861484
}

0 commit comments

Comments
 (0)