aboutsummaryrefslogtreecommitdiffstats
path: root/ci
diff options
context:
space:
mode:
authorMartin Klozik <martinx.klozik@intel.com>2016-07-19 13:22:09 +0100
committerMartin Klozik <martinx.klozik@intel.com>2016-07-20 14:50:01 +0100
commit3f54fe3750eef81f5fb44b90ab6a53e60e63f870 (patch)
treec274212e92ef0da801d2a7c2d00e2465d059d850 /ci
parent380a6cd33d7b1d85bbc46f5c90532ed55c7aaf27 (diff)
ci: CI report generation
Script for generation of documentation has been moved from releng into new opnfvdocs repository. VSPERF script for a daily CI job is calling this script for overall PDF report generation. Thus it must be updated to use new script location. JIRA: VSPERF-324 Change-Id: I173a2139c57c39acb25c14f7a082e0ff0a888b2f Signed-off-by: Martin Klozik <martinx.klozik@intel.com> Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com> Reviewed-by: Al Morton <acmorton@att.com> Reviewed-by: Christian Trautman <ctrautma@redhat.com> Reviewed-by: <bmichalo@redhat.com>
Diffstat (limited to 'ci')
-rwxr-xr-xci/build-vsperf.sh17
1 files changed, 11 insertions, 6 deletions
diff --git a/ci/build-vsperf.sh b/ci/build-vsperf.sh
index 5370898a..8fb69072 100755
--- a/ci/build-vsperf.sh
+++ b/ci/build-vsperf.sh
@@ -227,15 +227,15 @@ function generate_report() {
# ...and remove original log files
find "${TEST_REPORT_LOG_DIR}" -mindepth 1 -maxdepth 1 -type d -exec rm -rf \{\} \;
- # clone releng repository
- echo "Cloning releng repository..."
- [ -d releng ] && rm -rf releng
- git clone https://gerrit.opnfv.org/gerrit/releng &> /dev/null
+ # clone opnfvdocs repository
+ echo "Cloning opnfvdocs repository..."
+ [ -d opnfvdocs ] && rm -rf opnfvdocs
+ git clone https://gerrit.opnfv.org/gerrit/opnfvdocs &> /dev/null
# generate final docs with test results
echo "Generating test report..."
- sed -ie 's,python ,python2 ,g' ./releng/utils/docs-build.sh
- ./releng/utils/docs-build.sh &> /dev/null
+ sed -ie 's,python ,python2 ,g' ./opnfvdocs/scripts/docs-build.sh
+ OPNFVDOCS_DIR='./opnfvdocs' ./opnfvdocs/scripts/docs-build.sh &> /dev/null
# store PDF with test results into dedicated directory
if [ -f $TEST_REPORT_FILE ] ; then
@@ -248,6 +248,11 @@ function generate_report() {
# pushes test report and logs collected during test execution into artifactory
function push_results_to_artifactory() {
+ # clone releng repository
+ echo "Cloning releng repository..."
+ [ -d releng ] && rm -rf releng
+ git clone https://gerrit.opnfv.org/gerrit/releng &> /dev/null
+
echo "Pushing results and logs into artifactory..."
. ./releng/utils/push-test-logs.sh "$DATE"