We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0af1aad commit 36a5e1aCopy full SHA for 36a5e1a
2 files changed
workspaces/x2a/.changeset/rich-meals-tan.md
@@ -0,0 +1,5 @@
1
+---
2
+'@red-hat-developer-hub/backstage-plugin-x2a-backend': patch
3
4
+
5
+Bugfix - failures in git clone and init-phase are propagated to the UI.
workspaces/x2a/plugins/x2a-backend/templates/x2a-job-script.sh
@@ -23,7 +23,11 @@ report_result() {
23
url="${url}&moduleId=${MODULE_ID}"
24
fi
25
26
- local cmd=(uv run app.py report --url "${url}" --job-id "${JOB_ID}" --source-dir "${SOURCE_BASE}")
+ local cmd=(uv run app.py report --url "${url}" --job-id "${JOB_ID}")
27
28
+ if [ -n "${SOURCE_BASE:-}" ]; then
29
+ cmd+=(--source-dir "${SOURCE_BASE}")
30
+ fi
31
32
for artifact in "${ARTIFACTS[@]}"; do
33
cmd+=(--artifacts "${artifact}")
0 commit comments