diff options
author | EuAndreh <eu@euandre.org> | 2023-03-30 16:28:12 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2023-03-30 16:28:12 -0300 |
commit | bbd3940868c34a3ba4028e2bff4982aee0c4c2d6 (patch) | |
tree | 752bdd20521088c16cbd8a85f7b8fd6e8eb59745 /src | |
parent | git-post-receive.sh: Send CI report output to syslog over /dev/null (diff) | |
download | toph-bbd3940868c34a3ba4028e2bff4982aee0c4c2d6.tar.gz toph-bbd3940868c34a3ba4028e2bff4982aee0c4c2d6.tar.xz |
git-post-receive.sh: Redirect STDOUT and STDERR so that the terminal SSH session can be terminated
Notes
See CI logs with:
git notes --ref=refs/notes/ci-logs show bbd3940868c34a3ba4028e2bff4982aee0c4c2d6
git notes --ref=refs/notes/ci-data show bbd3940868c34a3ba4028e2bff4982aee0c4c2d6
Exit status: 0
Duration: 21
Diffstat (limited to 'src')
-rwxr-xr-x | src/infrastructure/ci/git-post-receive.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/infrastructure/ci/git-post-receive.sh b/src/infrastructure/ci/git-post-receive.sh index c21931e..f0dce5d 100755 --- a/src/infrastructure/ci/git-post-receive.sh +++ b/src/infrastructure/ci/git-post-receive.sh @@ -146,7 +146,7 @@ mkdtemp() { -a \ "$DIR"/ "$HTML_OUTDIR_CI"/ rm -rf "$DIR" - } 2>&1 | logger -p local0.warn -t git-ci & + } 2>&1 | logger -p local0.warn -t git-ci 1>/dev/null 2>&1 & } trap finish EXIT |