You are viewing a plain text version of this content. The canonical link for it is here.
Posted to distributedlog-commits@bookkeeper.apache.org by zh...@apache.org on 2017/10/23 11:01:57 UTC

[distributedlog] branch master updated: ISSUE #222: post-commit ci job is broken

This is an automated email from the ASF dual-hosted git repository.

zhaijia pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/distributedlog.git


The following commit(s) were added to refs/heads/master by this push:
     new 715b5ec  ISSUE #222: post-commit ci job is broken
715b5ec is described below

commit 715b5ec018f136b89e7b94ba3d08fe01414f93f3
Author: Sijie Guo <si...@apache.org>
AuthorDate: Mon Oct 23 19:01:47 2017 +0800

    ISSUE #222: post-commit ci job is broken
    
    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 <si...@apache.org>
    
    Reviewers: Jia Zhai <None>
    
    This closes #223 from sijie/debug_postcommit_job, closes #222
---
 website/scripts/publish-website.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/website/scripts/publish-website.sh b/website/scripts/publish-website.sh
index 6d05504..2758a5d 100755
--- a/website/scripts/publish-website.sh
+++ b/website/scripts/publish-website.sh
@@ -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"
 

-- 
To stop receiving notification emails like this one, please contact
['"distributedlog-commits@bookkeeper.apache.org" <di...@bookkeeper.apache.org>'].