Manage ODL Jenkins views with view-templates
[releng/builder.git] / jjb / packaging / ansible.yaml
index 3e8185ae9e5bf0d2b7e8b171ac1cef677dcd448d..ba354da81c7c697682c14561c45adc194bf10650 100644 (file)
@@ -17,7 +17,7 @@
 - job-template:
     name: '{project-name}-test-rpm-{stream}'
 
-    node: centos7-builder-2c-8g
+    node: centos7-builder-2c-2g
 
     project-type: freestyle
 
@@ -44,8 +44,9 @@
           build-timeout: '{build-timeout}'
 
     builders:
-      - shell: !include-raw: test-ansible-rpm.sh
-      - shell: !include-raw: test-ansible-odl-user.sh
+      - shell: !include-raw: setup-ansible-rpm.sh
+      - shell: !include-raw: test-ansible-rpm-default-config.sh
+      - shell: !include-raw: test-ansible-rpm-custom-config.sh
 
     triggers:
       - timed: '@daily'
@@ -54,6 +55,8 @@
           project: '{project}'
           branch: '{branch}'
           files: '**'
+          forbidden-files: ''
+
 
     publishers:
       - lf-infra-publish
@@ -88,7 +91,9 @@
           build-timeout: '{build-timeout}'
 
     builders:
-      - shell: !include-raw: test-ansible-deb.sh
+      - shell: !include-raw: setup-ansible-deb.sh
+      - shell: !include-raw: test-ansible-deb-default-config.sh
+      - shell: !include-raw: test-ansible-deb-custom-config.sh
 
     triggers:
       - timed: '@daily'
           project: '{project}'
           branch: '{branch}'
           files: '**'
+          forbidden-files: ''
 
     publishers:
       - lf-infra-publish
+
+- project:
+    name: ansible-view
+    views:
+      - project-view
+    project-name: ansible