Merge "Add tool to backup Mongo tables and postman collection as sample"
authorRyota Mibu <r-mibu@cq.jp.nec.com>
Tue, 1 Dec 2015 07:43:05 +0000 (07:43 +0000)
committerGerrit Code Review <gerrit@172.30.200.206>
Tue, 1 Dec 2015 07:43:05 +0000 (07:43 +0000)
jjb/pharos/pharos.yml

index ab6705b..9a80ab8 100644 (file)
@@ -4,10 +4,10 @@
 - project:
     name: pharos
     jobs:
-        - 'pharos-test'
         - 'pharos-daily-{stream}'
         - 'pharos-merge-{stream}'
         - 'pharos-verify-{stream}'
+        - 'pharos-maas-pilot-{stream}'
 
     # stream:    branch with - in place of / (eg. stable-arno)
     # branch:    branch (eg. stable/arno)
 ##############################
 # job template
 ##############################
-- job-template:
-    name: pharos-test
-
-    project-type: freestyle
-
-    logrotate:
-        daysToKeep: 30
-        numToKeep: 10
-        artifactDaysToKeep: -1
-        artifactNumToKeep: -1
-
-    builders:
-        - shell: |
-            echo "Hello world from pharos"
-
 - job-template:
     name: 'pharos-daily-{stream}'
 
         - shell:
             !include-raw ../opnfvdocs/docu-build.sh
 
+- job-template:
+    name: 'pharos-maas-pilot-{stream}'
+
+    node: master
+
+    project-type: freestyle
+
+    logrotate:
+        daysToKeep: '{build-days-to-keep}'
+        numToKeep: '{build-num-to-keep}'
+        artifactDaysToKeep: '{build-artifact-days-to-keep}'
+        artifactNumToKeep: '{build-artifact-num-to-keep}'
+
+    parameters:
+        - project-parameter:
+            project: '{project}'
+
+    scm:
+        - git-scm:
+            credentials-id: '{ssh-credentials}'
+            refspec: ''
+            branch: '{branch}'
+
+    triggers:
+       - pollscm: '@midnight'
+
+    builders:
+        - shell:
+            echo "Hello World"
 ########################
 # parameter macros
 ########################