summaryrefslogtreecommitdiffstats
path: root/jjb
diff options
context:
space:
mode:
authorFatih Degirmenci <fatih.degirmenci@ericsson.com>2015-08-22 01:07:26 +0200
committerFatih Degirmenci <fatih.degirmenci@ericsson.com>2015-08-26 13:21:42 +0000
commit6a94f5eb2c36bfda26c1184277a7a6b61a5995c2 (patch)
tree3599c795dce8d577b3585535e31b79c5b50a611e /jjb
parent1edf6d36019fcd644bb1efc665a0387e5c64c6a3 (diff)
Post links of documents generated for review to Gerrit
JIRA: RELENG-18 Change-Id: Ib0f3b4dcb31844b3dc96357ca1e4f000a633e493 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
Diffstat (limited to 'jjb')
-rw-r--r--jjb/copper/.availability.yml.swpbin12288 -> 0 bytes
-rw-r--r--jjb/copper/docu-build.sh4
2 files changed, 4 insertions, 0 deletions
diff --git a/jjb/copper/.availability.yml.swp b/jjb/copper/.availability.yml.swp
deleted file mode 100644
index 7ca652091..000000000
--- a/jjb/copper/.availability.yml.swp
+++ /dev/null
Binary files differ
diff --git a/jjb/copper/docu-build.sh b/jjb/copper/docu-build.sh
index 8508ba8d4..68a7bf541 100644
--- a/jjb/copper/docu-build.sh
+++ b/jjb/copper/docu-build.sh
@@ -33,6 +33,10 @@ if [[ $JOB_NAME =~ "verify" ]] ; then
gsutil cp -r build/* "gs://$gs_path_review/"
echo
echo "Document is available at http://$gs_path_review/index.html"
+ # post link to gerrit as comment
+ gerrit_comment=$(echo '"Document is available at 'http://$gs_path_review/index.html' for review"')
+ ssh -p 29418 gerrit.opnfv.org gerrit review -p $GERRIT_PROJECT -m \
+ $gerrit_comment $GERRIT_PATCHSET_REVISION
else
gsutil cp -r build/* "gs://$gs_path_branch/design_docs/"
#gsutil cp -r build/design_docs "gs://$gs_path_branch/"