summaryrefslogtreecommitdiffstats
path: root/jjb/scripts/publish_docs.sh
diff options
context:
space:
mode:
Diffstat (limited to 'jjb/scripts/publish_docs.sh')
-rwxr-xr-xjjb/scripts/publish_docs.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/jjb/scripts/publish_docs.sh b/jjb/scripts/publish_docs.sh
index 841789d8..adc17966 100755
--- a/jjb/scripts/publish_docs.sh
+++ b/jjb/scripts/publish_docs.sh
@@ -38,6 +38,11 @@ if [[ ${JOB_NAME} == *merge* ]]; then
workspace_dir="${WORKSPACE}/resources/tools/doc_gen/_build"
bucket_path="/csit/${GERRIT_BRANCH}/docs/"
;;
+ *"hicn-docs"*)
+ hicn_release="$(git describe --long --match "v*" | cut -d- -f1 | sed -e 's/^v//')"
+ workspace_dir="${WORKSPACE}/build/doc/deploy-site"
+ bucket_path="/hicn/${hicn_release}/"
+ ;;
*"vpp-docs"*)
vpp_release="$(${WORKSPACE}/build-root/scripts/version rpm-version)"
# TODO: Remove conditional statement when stable/2106 and