summaryrefslogtreecommitdiffstats
path: root/jjb/opnfvdocs
diff options
context:
space:
mode:
authorAric Gardner <agardner@linuxfoundation.org>2015-05-27 12:24:58 -0400
committerAric Gardner <agardner@linuxfoundation.org>2015-05-27 12:24:58 -0400
commit562f180eecfee9ea6f0f67c10137a759c2de8377 (patch)
tree97d2d220c38cc8bda83bbc5382527b3186efb485 /jjb/opnfvdocs
parentf3e806a2d5841c67897a4e11c7b7b0da8a93ea13 (diff)
$GERRIT_EVENT_TYPE != "change-merged" should cover comments added etc.
Change-Id: I47d8872382dcc488c9e1c43e06de00c4fcc213d3 JIRA:DOCS-36 Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
Diffstat (limited to 'jjb/opnfvdocs')
-rw-r--r--jjb/opnfvdocs/docu-build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/jjb/opnfvdocs/docu-build.sh b/jjb/opnfvdocs/docu-build.sh
index ba69087e9..848466e03 100644
--- a/jjb/opnfvdocs/docu-build.sh
+++ b/jjb/opnfvdocs/docu-build.sh
@@ -8,7 +8,7 @@ export PATH=$PATH:/usr/local/bin/
git_sha1="$(git rev-parse HEAD)"
docu_build_date="$(date)"
-if [[ $GERRIT_EVENT_TYPE = "patchset-created" ]] ; then
+if [[ $GERRIT_EVENT_TYPE != "change-merged" ]] ; then
patchset="/$GERRIT_CHANGE_NUMBER"
fi