summaryrefslogtreecommitdiffstats
path: root/jjb/scripts/publish_docs.sh
diff options
context:
space:
mode:
authorDave Wallace <dwallacelf@gmail.com>2021-11-23 18:19:37 -0500
committerDave Wallace <dwallacelf@gmail.com>2021-12-02 12:46:09 -0500
commit08a36ea653906faf169ee757baef27eb5885b01a (patch)
treeb94b8dae03301f04374836569901e12fbf96531b /jjb/scripts/publish_docs.sh
parentca254920e93372c9a5e7ae2b33bc94f7146a9202 (diff)
Nexus retirement CI job clean up
- Remove nexus configuration parameters from CI jobs for active FD.io projects - Convert HICN docs jobs to use S3 storage Change-Id: Ida00b6448926567e0245b4988597113bfea0bd84 Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
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 841789d82..adc179668 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