Skip to content
This repository was archived by the owner on Oct 16, 2024. It is now read-only.

Commit

Permalink
ISSUE #222: post-commit ci job is broken
Browse files Browse the repository at this point in the history
Descriptions of the changes in this PR:

The reason that the post commit ci job is broken is because `git remote show apache` is used in `publish-website.sh` script, but there isn't `apache` branch in CI cloned workspace. we need to change this from `apache` to `origin`.

Author: Sijie Guo <sijie@apache.org>

Reviewers: Jia Zhai <None>

This closes #223 from sijie/debug_postcommit_job, closes #222
  • Loading branch information
sijie authored and jiazhai committed Oct 23, 2017
1 parent b670382 commit 715b5ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/scripts/publish-website.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

CONTENT_ROOT_DIR=$1
TMP_DIR=/tmp/distributedlog-site-tmp
ORIGIN_REPO=$(git remote show apache | grep 'Push URL' | awk -F// '{print $NF}')
ORIGIN_REPO=$(git remote show origin | grep 'Push URL' | awk -F// '{print $NF}')
# ORIGIN_REPO=$(git remote show origin | grep 'Push URL' | awk -F// '{print $NF}')
echo "ORIGIN_REPO: $ORIGIN_REPO"

Expand Down

0 comments on commit 715b5ec

Please sign in to comment.