Merge pull request #11841 from sharifelgamal/ugly-err
remove ugly error message from kicbase and ISO autobuildpull/11844/head
commit
c2f18d9d4b
|
@ -45,16 +45,11 @@ make release-iso | tee iso-logs.txt
|
||||||
ec=$?
|
ec=$?
|
||||||
if [ $ec -gt 0 ]; then
|
if [ $ec -gt 0 ]; then
|
||||||
if [ "$release" = false ]; then
|
if [ "$release" = false ]; then
|
||||||
err=$(tail -100 iso-logs.txt)
|
gh pr comment ${ghprbPullId} --body "Hi ${ghprbPullAuthorLoginMention}, building a new ISO failed.
|
||||||
gh pr comment ${ghprbPullId} --body "Hi ${ghprbPullAuthorLoginMention}, building a new ISO failed, with the error below:
|
See the logs at:
|
||||||
|
```
|
||||||
<details>
|
https://storage.cloud.google.com/minikube-builds/logs/${ghprbPullId}/${ghprbActualCommit:0:7}/iso_build.txt
|
||||||
<pre>
|
```
|
||||||
${err}
|
|
||||||
</pre>
|
|
||||||
</details>
|
|
||||||
|
|
||||||
Full logs are at https://storage.cloud.google.com/minikube-builds/logs/${ghprbPullId}/${ghprbActualCommit:0:7}/iso_build.txt
|
|
||||||
"
|
"
|
||||||
fi
|
fi
|
||||||
exit $ec
|
exit $ec
|
||||||
|
|
|
@ -67,16 +67,11 @@ CIBUILD=yes make push-kic-base-image | tee kic-logs.txt
|
||||||
ec=$?
|
ec=$?
|
||||||
if [ $ec -gt 0 ]; then
|
if [ $ec -gt 0 ]; then
|
||||||
if [ "$release" = false ]; then
|
if [ "$release" = false ]; then
|
||||||
err=$(tail -100 kic-logs.txt)
|
gh pr comment ${ghprbPullId} --body "Hi ${ghprbPullAuthorLoginMention}, building a new kicbase image failed.
|
||||||
gh pr comment ${ghprbPullId} --body "Hi ${ghprbPullAuthorLoginMention}, building a new kicbase image failed, with the error below:
|
See the logs at:
|
||||||
|
```
|
||||||
<details>
|
https://storage.cloud.google.com/minikube-builds/logs/${ghprbPullId}/${ghprbActualCommit:0:7}/kic_image_build.txt
|
||||||
<pre>
|
```
|
||||||
${err}
|
|
||||||
</pre>
|
|
||||||
</details>
|
|
||||||
|
|
||||||
Full logs are at https://storage.cloud.google.com/minikube-builds/logs/${ghprbPullId}/${ghprbActualCommit:0:7}/kic_image_build.txt
|
|
||||||
"
|
"
|
||||||
fi
|
fi
|
||||||
exit $ec
|
exit $ec
|
||||||
|
|
Loading…
Reference in New Issue