Code Review
/
releng.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Include dynamic project variable in build-docu scripts
[releng.git]
/
jjb
/
opnfvdocs
/
docu-verify.sh
diff --git
a/jjb/opnfvdocs/build-docu-verify.sh
b/jjb/opnfvdocs/docu-verify.sh
similarity index 84%
rename from
jjb/opnfvdocs/build-docu-verify.sh
rename to
jjb/opnfvdocs/docu-verify.sh
index
a6a1596
..
f337a7f
100644
(file)
--- 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)"