From dc9caf525d56847068e928244a216893573f9c37 Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Wed, 4 Apr 2012 14:48:54 -0700 Subject: [PATCH] Add comment property to doc script Change-Id: I57c9ed0faca9f00e7d0a4b080cdb47b941d9c5ad --- .../jenkins_slave/files/slave_scripts/gerrit-doc-properties.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/jenkins_slave/files/slave_scripts/gerrit-doc-properties.sh b/modules/jenkins_slave/files/slave_scripts/gerrit-doc-properties.sh index 275bc5237e..41d04c446d 100755 --- a/modules/jenkins_slave/files/slave_scripts/gerrit-doc-properties.sh +++ b/modules/jenkins_slave/files/slave_scripts/gerrit-doc-properties.sh @@ -13,12 +13,14 @@ BRANCH=$GERRIT_REFNAME if [ $BRANCH == "master" ] then DOC_RELEASE_PATH="trunk" + DOC_COMMENTS_ENABLED=0 fi # The stable/diablo branch should get published to /diablo if [[ $BRANCH =~ ^stable/(.*)$ ]] then DOC_RELEASE_PATH=${BASH_REMATCH[1]} + DOC_COMMENTS_ENABLED=1 fi echo "DOC_RELEASE_PATH=$DOC_RELEASE_PATH" >$WORKSPACE/gerrit-doc.properties