diff options
Diffstat (limited to '')
-rwxr-xr-x | aux/ci/git-post-receive.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/aux/ci/git-post-receive.sh b/aux/ci/git-post-receive.sh index 855fd45..24f40ef 100755 --- a/aux/ci/git-post-receive.sh +++ b/aux/ci/git-post-receive.sh @@ -13,7 +13,8 @@ read -r _ SHA _ # oldrev newrev refname PROJECT="$(basename "$PWD" | cut -d. -f1)" # remove .git suffix LOGS_DIR="/opt/ci/$PROJECT/logs" -"/opt/ci/$PROJECT/ci-build.sh" "$PROJECT" "$LOGS_DIR" "$SHA" +sh "/opt/ci/$PROJECT/ci-build.sh" "$PROJECT" "$LOGS_DIR" "$SHA" echo 'To retrigger the build, run:' -echo "cd /srv/git/$PROJECT.git/ && sh /opt/ci/$PROJECT/ci-build.sh" "$PROJECT" "$LOGS_DIR" "$SHA" +echo "cd /srv/git/$PROJECT.git/" +echo "sh /opt/ci/$PROJECT/ci-build.sh" "$PROJECT" "$LOGS_DIR" "$SHA" |