Merge "Add Netready and Barometer tests to the reporting dashboard"
authorMorgan Richomme <morgan.richomme@orange.com>
Thu, 23 Feb 2017 07:24:22 +0000 (07:24 +0000)
committerGerrit Code Review <gerrit@opnfv.org>
Thu, 23 Feb 2017 07:24:22 +0000 (07:24 +0000)
jjb/global/releng-macros.yml
jjb/qtip/qtip-verify-jobs.yml
jjb/releng/opnfv-docker.sh

index d5eb0c9..c245ee8 100644 (file)
             allow-empty: true
             fingerprint: true
             latest-only: true
+
+- publisher:
+    name: publish-coverage
+    publishers:
+      - cobertura:
+          report-file: "coverage.xml"
+          only-stable: "true"
+          health-auto-update: "true"
+          stability-auto-update: "true"
+          zoom-coverage-chart: "true"
+          targets:
+            - files:
+                healthy: 10
+                unhealthy: 20
+                failing: 30
+            - method:
+                healthy: 50
+                unhealthy: 40
+                failing: 30
+
index d1fc34d..3cb331c 100644 (file)
@@ -55,6 +55,8 @@
 
     builders:
         - qtip-unit-tests-and-docs-build
+    publisher:
+        - 'publish-coverage'
 
 ################################
 ## job builders
index 7b93d50..ded743d 100644 (file)
@@ -77,8 +77,12 @@ fi
 echo "Building docker image: $DOCKER_REPO_NAME:$DOCKER_TAG"
 echo "--------------------------------------------------------"
 echo
-cmd="docker build --no-cache -t $DOCKER_REPO_NAME:$DOCKER_TAG --build-arg BRANCH=$BRANCH
-    -f $DOCKERFILE ."
+if [[ $DOCKER_REPO_NAME == *"dovetail"* ]]; then
+    cmd="docker build --no-cache -t $DOCKER_REPO_NAME:$DOCKER_TAG -f $DOCKERFILE ."
+else
+    cmd="docker build --no-cache -t $DOCKER_REPO_NAME:$DOCKER_TAG --build-arg BRANCH=$BRANCH
+        -f $DOCKERFILE ."
+fi
 
 echo ${cmd}
 ${cmd}