add daily job for container4nfv 83/46283/2
authorGuo Ruijing <ruijing.guo@intel.com>
Thu, 26 Oct 2017 21:02:28 +0000 (17:02 -0400)
committerGuo Ruijing <ruijing.guo@intel.com>
Thu, 26 Oct 2017 21:08:15 +0000 (17:08 -0400)
Change-Id: I78a06c6123c9bfad33953eab0eb5db76ee0d5e84
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
jjb/container4nfv/container4nfv-project.yml

index c7666a1..76e5e2f 100644 (file)
@@ -10,6 +10,7 @@
 
     jobs:
       - 'container4nfv-verify-{stream}'
+      - 'container4nfv-daily-{stream}'
 
     stream:
       - master:
       - shell: |
           cd $WORKSPACE/ci
           ./build.sh
+
+
+- job-template:
+    name: 'container4nfv-daily-{stream}'
+
+    project-type: freestyle
+
+    disabled: '{obj:disabled}'
+
+    concurrent: false
+
+    properties:
+      - logrotate-default
+
+    parameters:
+      - project-parameter:
+          project: '{project}'
+          branch: '{branch}'
+      - node:
+          name: SLAVE_NAME
+          description: 'Slave name on Jenkins'
+          allowed-slaves:
+            - huawei-virtaul6
+          default-slaves:
+            - huawei-virtaul6
+
+    scm:
+      - git-scm
+
+    triggers:
+      - timed: '@midnight'
+
+    builders:
+      - shell:
+          cd $WORKSPACE/ci
+          ./deploy.sh