Skip to content
Snippets Groups Projects
Commit 96bba6f3 authored by Oliver Breitwieser's avatar Oliver Breitwieser
Browse files

Enable debug by WITH_DEBUG in gerrit comment

Change-Id: Ia820830f3f32c8129b904f25dd5ef97442c7ca22
parent 54669a0b
No related branches found
No related tags found
No related merge requests found
...@@ -50,6 +50,11 @@ if [ "${CONTAINER_BUILD_TYPE}" = "testing" ] \ ...@@ -50,6 +50,11 @@ if [ "${CONTAINER_BUILD_TYPE}" = "testing" ] \
echo "${GERRIT_EVENT_COMMENT_TEXT}" | base64 -d > "${tmpfile_comment}" echo "${GERRIT_EVENT_COMMENT_TEXT}" | base64 -d > "${tmpfile_comment}"
if grep -q "\bWITH_DEBUG\b" "${tmpfile_comment}"; then
export YASHCHIKI_DEBUG=enabled
set_debug_output_from_env
fi
if ! grep -q "\bNO_FAILED_CACHE\b" "${tmpfile_comment}"; then if ! grep -q "\bNO_FAILED_CACHE\b" "${tmpfile_comment}"; then
if grep -q "\bUSE_CACHE_NAME=" "${tmpfile_comment}"; then if grep -q "\bUSE_CACHE_NAME=" "${tmpfile_comment}"; then
# use specified cache # use specified cache
......
...@@ -47,3 +47,8 @@ This changeset adds the possibility to specify: ...@@ -47,3 +47,8 @@ This changeset adds the possibility to specify:
These take priority over commit-specified `Depends-On:` and are mutually These take priority over commit-specified `Depends-On:` and are mutually
exclusive with jenkins-specified build parameters since each build gets exclusive with jenkins-specified build parameters since each build gets
either triggered manually in jenkins or via gerrit. either triggered manually in jenkins or via gerrit.
### `WITH_DEBUG`
Specifying `WITH_DEBUG` in the triggering comment will enable debug output.
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment