From aaa1a076b87f23ef387b846efecb6a2458f0f047 Mon Sep 17 00:00:00 2001 From: Tom Martensen Date: Wed, 27 Aug 2025 14:44:45 +0200 Subject: [PATCH] ROX-30649: Add target_branch to the Konflux Slack notification --- .tekton/collector-component-pipeline.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.tekton/collector-component-pipeline.yaml b/.tekton/collector-component-pipeline.yaml index 45a0bc52ef..585c3ee725 100644 --- a/.tekton/collector-component-pipeline.yaml +++ b/.tekton/collector-component-pipeline.yaml @@ -9,7 +9,7 @@ spec: - name: slack-notification params: - name: message - value: ':x: `{{event_type}}` pipeline for (`$(params.output-image-repo)`, revision <$(params.git-url)/commit/$(params.revision)|$(params.revision)>) has failed.' + value: ':x: `{{event_type}}` pipeline for {{ target_branch }} branch (`$(params.output-image-repo)`, revision <$(params.git-url)/commit/$(params.revision)|$(params.revision)>, ) has failed. Follow the instructions on to re-run the pipeline.' - name: key-name value: 'acs-konflux-notifications' when: @@ -162,7 +162,7 @@ spec: - name: url value: $(params.git-url) - name: revision - value: $(params.revision) + value: $(params.revision)-123 - name: submodules value: $(params.clone-submodules) - name: depth