Skip to content

Commit 2e296b3

Browse files
committed
updated running task link to ECS
1 parent 794d0cb commit 2e296b3

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

dist/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,9 @@ async function runTask(ecs,clusterName, taskDefArn, waitForMinutes) {
7575
const region = await ecs.config.region();
7676
const consoleHostname = region.startsWith('cn') ? 'console.amazonaws.cn' : 'console.aws.amazon.com';
7777

78-
core.info(`Task running: https://${consoleHostname}/ecs/home?region=${region}#/clusters/${clusterName}/task/${runTaskResponse}`);
7978

79+
core.info(`Task running: https://${consoleHostname}/ecs/home?region=${region}#/clusters/${clusterName}/tasks/${startedBy}`);
80+
8081

8182
if (runTaskResponse.failures && runTaskResponse.failures.length > 0) {
8283
const failure = runTaskResponse.failures[0];

index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,9 @@ async function runTask(ecs,clusterName, taskDefArn, waitForMinutes) {
6969
const region = await ecs.config.region();
7070
const consoleHostname = region.startsWith('cn') ? 'console.amazonaws.cn' : 'console.aws.amazon.com';
7171

72-
core.info(`Task running: https://${consoleHostname}/ecs/home?region=${region}#/clusters/${clusterName}/task/${runTaskResponse}`);
7372

73+
core.info(`Task running: https://${consoleHostname}/ecs/home?region=${region}#/clusters/${clusterName}/tasks/${startedBy}`);
74+
7475

7576
if (runTaskResponse.failures && runTaskResponse.failures.length > 0) {
7677
const failure = runTaskResponse.failures[0];

0 commit comments

Comments
 (0)