summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--jjb/opnfvdocs/docu-build.sh (renamed from jjb/opnfvdocs/build-upload-docu.sh)2
-rw-r--r--jjb/opnfvdocs/docu-verify.sh (renamed from jjb/opnfvdocs/build-docu-verify.sh)2
-rw-r--r--jjb/opnfvdocs/opnfvdocs.yml6
3 files changed, 5 insertions, 5 deletions
diff --git a/jjb/opnfvdocs/build-upload-docu.sh b/jjb/opnfvdocs/docu-build.sh
index 7b4321a04..499bdbe4b 100644
--- a/jjb/opnfvdocs/build-upload-docu.sh
+++ b/jjb/opnfvdocs/docu-build.sh
@@ -2,7 +2,7 @@
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)"
diff --git a/jjb/opnfvdocs/build-docu-verify.sh b/jjb/opnfvdocs/docu-verify.sh
index a6a1596f8..f337a7fae 100644
--- a/jjb/opnfvdocs/build-docu-verify.sh
+++ b/jjb/opnfvdocs/docu-verify.sh
@@ -2,7 +2,7 @@
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)"
diff --git a/jjb/opnfvdocs/opnfvdocs.yml b/jjb/opnfvdocs/opnfvdocs.yml
index 37310a79c..39e33eb54 100644
--- a/jjb/opnfvdocs/opnfvdocs.yml
+++ b/jjb/opnfvdocs/opnfvdocs.yml
@@ -51,7 +51,7 @@
builders:
- shell:
- !include-raw build-upload-docu.sh
+ !include-raw docu-build.sh
- job-template:
name: 'opnfvdocs-verify'
@@ -102,7 +102,7 @@
builders:
- shell:
- !include-raw build-docu-verify.sh
+ !include-raw docu-verify.sh
- job-template:
name: 'opnfvdocs-merge'
@@ -152,5 +152,5 @@
builders:
- shell:
- !include-raw build-upload-docu.sh
+ !include-raw docu-build.sh