JIRA: DOCS-24 - Include dynamic project variable in build-docu scripts
as oposite to hard-coded value how it's now set; shortened script
names for better visibility
Change-Id: Ib55d3c985f1cd27fd834d728659b9273b46773e4
Signed-off-by: Victor Laza <vlaza@cloudbasesolutions.com>
set -e
set -o pipefail
-project="opnfvdocs"
+project="$(git remote -v | head -n1 | awk '{{print $2}}' | sed -e 's,.*:\(.*/\)\?,,' -e 's/\.git$//')"
export PATH=$PATH:/usr/local/bin/
git_sha1="$(git rev-parse HEAD)"
set -e
set -o pipefail
-project="opnfvdocs"
+project="$(git remote -v | head -n1 | awk '{{print $2}}' | sed -e 's,.*:\(.*/\)\?,,' -e 's/\.git$//')"
export PATH=$PATH:/usr/local/bin/
git_sha1="$(git rev-parse HEAD)"
builders:
- shell:
- !include-raw build-upload-docu.sh
+ !include-raw docu-build.sh
- job-template:
name: 'opnfvdocs-verify'
builders:
- shell:
- !include-raw build-docu-verify.sh
+ !include-raw docu-verify.sh
- job-template:
name: 'opnfvdocs-merge'
builders:
- shell:
- !include-raw build-upload-docu.sh
+ !include-raw docu-build.sh