Skip to content

Commit 3a8d719

Browse files
committed
review comment
1 parent 398f3ec commit 3a8d719

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

hack/jenkins/build_iso.sh

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,15 @@ if ! make release-iso 2>&1 | tee iso-logs.txt; then
7171

7272
# Only comment on non-release; default release=false if unset
7373
if [[ ${release:-false} != "true" ]]; then
74-
gh pr comment "${ghprbPullId}" --body "$(cat <<'MSG'
75-
Hi ${ghprbPullAuthorLoginMention}, building a new ISO failed for Commit ${ghprbActualCommit}
76-
See the logs at:
77-
https://storage.cloud.google.com/minikube-builds/logs/${ghprbPullId}/${ghprbActualCommit::7}/iso_build.txt
78-
MSG
79-
)"
74+
body="$(cat <<'EOF'
75+
Hi ${ghprbPullAuthorLoginMention}, building a new ISO failed for Commit ${ghprbActualCommit}
76+
See the logs at:
77+
https://storage.cloud.google.com/minikube-builds/logs/${ghprbPullId}/${ghprbActualCommit::7}/iso_build.txt
78+
EOF
79+
"
80+
81+
gh pr comment "${ghprbPullId}" --body "$body"
82+
8083
fi
8184
exit "$ec"
8285
fi

0 commit comments

Comments
 (0)