diff options
author | Peter Mikus <pmikus@cisco.com> | 2021-12-06 06:13:25 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@fd.io> | 2021-12-06 06:13:25 +0000 |
commit | f3f5ba3a7b8e7507377d4f8f39016debed40fdad (patch) | |
tree | 73afa51ca1d89d47d6d4de2f5a75be15a038dfa2 /jjb/scripts/publish_docs.sh | |
parent | fcdedefb2a1a0e0c3714e8a2555982ede0f6370c (diff) | |
parent | 08a36ea653906faf169ee757baef27eb5885b01a (diff) |
Merge "Nexus retirement CI job clean up"
Diffstat (limited to 'jjb/scripts/publish_docs.sh')
-rwxr-xr-x | jjb/scripts/publish_docs.sh | 5 |
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 |