merge GIT_BRANCH and GERRIT_BRANCH into BRANCH
[releng.git] / jjb / releng / testapi-automate.yml
index abb3481..47d217e 100644 (file)
 
     project: 'releng'
 
+- job:
+    name: 'testapi-mongodb-backup'
+
+    slave-label: 'testresults'
+
+    scm:
+        - git-scm
+
+    triggers:
+        - timed: '@weekly'
+
+    builders:
+        - mongodb-backup
+
 - job-template:
     name: 'testapi-verify-{stream}'
 
     parameters:
         - project-parameter:
             project: '{project}'
-        - gerrit-parameter:
             branch: '{branch}'
         - 'opnfv-build-ubuntu-defaults'
 
@@ -55,8 +68,8 @@
         - cobertura:
             report-file: "coverage.xml"
             only-stable: "true"
-            health-auto-update: "true"
-            stability-auto-update: "true"
+            health-auto-update: "false"
+            stability-auto-update: "false"
             zoom-coverage-chart: "true"
             targets:
                 - files:
@@ -74,7 +87,6 @@
     parameters:
         - project-parameter:
             project: '{project}'
-        - gerrit-parameter:
             branch: '{branch}'
         - string:
             name: DOCKER_TAG
 ################################
 # job builders
 ################################
+- builder:
+    name: mongodb-backup
+    builders:
+        - shell: |
+            bash ./jjb/releng/testapi-backup-mongodb.sh
 
 - builder:
     name: run-unit-tests