Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
Change-Id: I3d3c4cdd1031514526382c83178a3a2f3e1b471d
build-artifact-num-to-keep: 5
ssh-credentials: 'd42411ac011ad6f3dd2e1fa34eaa5d87f910eb2e'
build-artifact-num-to-keep: 5
ssh-credentials: 'd42411ac011ad6f3dd2e1fa34eaa5d87f910eb2e'
- gerrit-review: 'ssh -p 29418 gerrit.opnfv.org gerrit review'
echo
echo "$gerrit_comment"
echo
echo
echo "$gerrit_comment"
echo
- {gerrit-review} -p {project} -m "$gerrit_comment" $GERRIT_PATCHSET_REVISION
+ ssh -p 29418 gerrit.opnfv.org gerrit review -p $GERRIT_PROJECT -m "$gerrit_comment" $GERRIT_PATCHSET_REVISION
#TODO(r-mibu): change this to publisher
- builder:
#TODO(r-mibu): change this to publisher
- builder:
echo "#####################"
echo
echo "#####################"
echo
- if [[ "{branch}" == "master" ]] ; then
- gs_path="artifacts.opnfv.org/{project}/docs"
+ if [[ "$GERRIT_BRANCH" == "master" ]] ; then
+ gs_path="artifacts.opnfv.org/$GERRIT_PROJECT/docs"
- gs_path="artifacts.opnfv.org/{project}/{branch}/docs"
+ gs_path="artifacts.opnfv.org/$GERRIT_PROJECT/$GERRIT_BRANCH/docs"
fi
gsutil -m cp -r docs/output/* "gs://$gs_path"
fi
gsutil -m cp -r docs/output/* "gs://$gs_path"
echo
echo "$gerrit_comment"
echo
echo
echo "$gerrit_comment"
echo
- {gerrit-review} -p {project} -m "$gerrit_comment" $GERRIT_PATCHSET_REVISION
+ ssh -p 29418 gerrit.opnfv.org gerrit review -p $GERRIT_PROJECT -m "$gerrit_comment" $GERRIT_PATCHSET_REVISION
#TODO(r-mibu): change this to publisher
- builder:
#TODO(r-mibu): change this to publisher
- builder: