This is an automated email from the ASF dual-hosted git repository.
zwoop pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new 72b55ab Do not try to push to the docs tree unless we have permissions
72b55ab is described below
commit 72b55abe633be220c304988674bcd66da3feca89
Author: Leif Hedstrom <[email protected]>
AuthorDate: Thu Jun 8 13:57:06 2017 -0600
Do not try to push to the docs tree unless we have permissions
---
ci/jenkins/bin/docs.sh | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/ci/jenkins/bin/docs.sh b/ci/jenkins/bin/docs.sh
index f5b2a17..76f9132 100644
--- a/ci/jenkins/bin/docs.sh
+++ b/ci/jenkins/bin/docs.sh
@@ -30,6 +30,10 @@ echo "Building English version"
rm -rf docbuild/html
${ATS_MAKE} -e SPHINXOPTS="-D language='en'" html
[ $? != 0 ] && exit 1
+
+# Only continue with the rsync and JA build if we're on the official docs
updates.
+[ -w /home/docs ] || exit 0
+
/usr/bin/rsync --delete -av docbuild/html/ /home/docs/en/${ATS_BRANCH}
echo "Building JA version"
--
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].