Skip to content

Commit 3f70bcf

Browse files
committed
feat: update error_msg SD-1405
1 parent 4b5c5ed commit 3f70bcf

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

charts/tekton-pipelines/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ type: application
66
# This is the chart version. This version number should be incremented each time you make changes
77
# to the chart and its templates, including the app version.
88
# Versions are expected to follow Semantic Versioning (https://semver.org/)
9-
version: 2.2.14-dev.8
9+
version: 2.2.14-dev.9
1010

1111
maintainers:
1212
- url: https://www.saritasa.com/

charts/tekton-pipelines/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ saritasa-tekton-pipelines
3131

3232
## `chart.version`
3333

34-
![Version: 2.2.14-dev.8](https://img.shields.io/badge/Version-2.2.14-dev.8-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)
34+
![Version: 2.2.14-dev.9](https://img.shields.io/badge/Version-2.2.14-dev.9-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)
3535

3636
## Maintainers
3737

charts/tekton-pipelines/templates/common/tasks/slack-notification.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ spec:
8989
# Fetch logs and save info about the failed task
9090
echo "Fetching logs for failed step: ${failed_step}"
9191
curl -sk "https://tekton-logs-server.ci.svc.cluster.local/logs/ci/${failed_pod_name}/step-${failed_step}" | tail -c 1982 > $(results.logs.path)
92+
cat $(results.logs.path)
9293
else
9394
echo 'No failed taskRuns'
9495
fi
@@ -134,7 +135,7 @@ spec:
134135
failed_task=$(cat $(results.failed_task.path))
135136
failed_step=$(cat $(results.failed_step.path))
136137
failed="Task: $failed_task, Step: $failed_step"
137-
error_msg=$(tail -c 1982 $(results.logs.path))
138+
error_msg=$(cat $(results.logs.path))
138139
fi
139140
140141
argo_app_url="$ARGOCD_SERVER/$ARGOCD_ROOT_PATH/applications/$(params.application)"

0 commit comments

Comments
 (0)