Merge "HC2VPP-372: Update hc2vpp integration and hc2vpp/csit jobs"
[ci-management.git] / jjb / sweetcomb / sweetcomb.yaml
index c67ee23..751de12 100644 (file)
           build-timeout: 120
 
     triggers:
+      - gerrit-trigger-checkstyle:
+          name: '{project}'
+          branch: '{branch}'
+
+    builders:
+      - config-file-provider:
+          files:
+            - file-id: '.packagecloud'
+              target: '/root'
+      - config-file-provider:
+          files:
+            - file-id: 'packagecloud_api'
+              target: '/root'
+      - shell:
+          !include-raw-escape: include-raw-sweetcomb-checkstyle.sh
+      - shell:
+          !include-raw-escape:
+          - include-raw-sweetcomb-build.sh
+    publishers:
+      - archive:
+          artifacts: >
+            **/build-root/build-package/*.rpm,
+            **/build-root/build-package/*.deb,
+          allow-empty: 'true'
+          fingerprint: false
+          only-if-success: true
+          default-excludes: false
+      - fdio-infra-shiplogs:
+          maven-version: 'mvn33-new'
+      - naginator:
+          rerun-unstable-builds: false
+          max-failed-builds: 1
+          fixed-delay: 90
+
       - gerrit-trigger-patch-submitted:
           name: '{project}'
           branch: '{branch}'
           files:
             - file-id: 'packagecloud_api'
               target: '/root'
+      - shell:
+          !include-raw-escape: include-raw-sweetcomb-checkstyle.sh
       - shell:
           !include-raw-escape:
           - include-raw-sweetcomb-build.sh
     publishers:
       - archive:
           artifacts: >
-            **/build-root/*.rpm,
-            **/build-root/*.deb,
+            **/build-root/build-package/*.rpm,
+            **/build-root/build-package/*.deb,
           allow-empty: 'true'
           fingerprint: false
           only-if-success: true