Remove all compass jobs
[releng.git] / jjb / global / releng-macros.yaml
index fe24ed5..cb6f0f2 100644 (file)
     name: git-scm
     scm:
       - git: &git-scm-defaults
-          credentials-id: '$SSH_CREDENTIAL_ID'
+          credentials-id: 'd42411ac011ad6f3dd2e1fa34eaa5d87f910eb2e'
           url: '$GIT_BASE'
           branches:
             - 'origin/$BRANCH'
     name: git-scm-with-submodules
     scm:
       - git:
-          credentials-id: '$SSH_CREDENTIAL_ID'
+          credentials-id: 'd42411ac011ad6f3dd2e1fa34eaa5d87f910eb2e'
           url: '$GIT_BASE'
           refspec: ''
           branches:
             unstable: false
             notbuilt: false
 
+- trigger:
+    name: gerrit-trigger-patchset-approved
+    triggers:
+      - gerrit:
+          server-name: 'gerrit.opnfv.org'
+          trigger-on:
+            - comment-added-event:
+                approval-category: 'CRVW'
+                approval-value: 2
+            - comment-added-contains-event:
+                comment-contains-value: 'gate'
+          projects:
+            - project-compare-type: 'ANT'
+              project-pattern: '{project}'
+              branches:
+                - branch-compare-type: 'ANT'
+                  branch-pattern: '**/{branch}'
+              file-paths:
+                - compare-type: 'ANT'
+                  pattern: '{files}'
+          skip-vote:
+            successful: false
+            failed: false
+            unstable: false
+            notbuilt: false
+
 - trigger:
     name: gerrit-trigger-change-merged
     triggers:
           recipients: >
             stephen.wong1@huawei.com
 
-- publisher: &email_compass4nfv_ptl_defaults
-    name: 'email-compass4nfv-ptl'
-    publishers:
-      - email-ext:
-          <<: *email_ptl_defaults
-          recipients: >
-            chigang@huawei.com
-- publisher:
-    name: 'email-compass-containers-ptl'
-    <<: *email_compass4nfv_ptl_defaults
-
 - publisher:
     name: 'email-conductor-ptl'
     publishers:
           recipients: >
             jiaxuan@chinamobile.com
 
-- publisher:
-    name: 'email-copper-ptl'
-    publishers:
-      - email-ext:
-          <<: *email_ptl_defaults
-          recipients: >
-            aimeeu.opensource@gmail.com
-
 - publisher:
     name: 'email-cperf-ptl'
     publishers:
           recipients: >
             ruan.he@orange.com
 
-- publisher:
-    name: 'email-netready-ptl'
-    publishers:
-      - email-ext:
-          <<: *email_ptl_defaults
-          recipients: >
-            georg.kunz@ericsson.com
-
 - publisher:
     name: 'email-nfvbench-ptl'
     publishers:
       - email-ext:
           <<: *email_ptl_defaults
           recipients: >
-            zhang.jun3g@zte.com.cn
+            jack@jento.io
 - publisher:
     name: 'email-pharos-tools-ptl'
     <<: *email_pharos_ptl_defaults