INFRA: Update the slack options for projects 51/1751/3
authorrobert.tomczyk <robert.tomczyk@est.tech>
Thu, 25 Jul 2019 19:30:29 +0000 (20:30 +0100)
committerrobert.tomczyk <robert.tomczyk@est.tech>
Thu, 25 Jul 2019 19:41:43 +0000 (20:41 +0100)
Below changes are introduced:
- Push upstream slack notification are removed. The job failures should
  be handled as part of the Gerrit review by a person who is
  trying to push the change to upstream.
- Introduce slack notifications for Geode jobs to #geode
  Slack channel.

Change-Id: Ie625ed4bc667b4268f6ab8d1d967561873ed1c2b

14 files changed:
jjb/acumos/global-templates-acumos-push-upstream.yaml
jjb/acumos/global-templates-acumos-rebase.yaml
jjb/geode/apache-geode-test-coordinator.yaml
jjb/geode/global-template-apache-geode-build.yaml
jjb/geode/global-template-apache-geode-test.yaml
jjb/global/global-templates-push-upstream.yaml
jjb/global/global-templates-rebase.yaml
jjb/global/jjb-macros.yaml
jjb/onap/global-templates-onap-push-upstream.yaml
jjb/onap/global-templates-onap-rebase.yaml
jjb/opendaylight/global-templates-opendaylight-push-upstream.yaml
jjb/opendaylight/global-templates-opendaylight-rebase.yaml
jjb/opendev/global-templates-opendev-push-upstream.yaml
jjb/opendev/global-templates-opendev-rebase.yaml

index 34e11a609a7d9011bd2261ec006da6a77dccf939..541eb1c5efa91e7c70efdd959bfe679a620d08eb 100644 (file)
@@ -38,7 +38,3 @@
     builders:
       - shell:
           !include-raw-escape: ./push-upstream-jobs.sh
-
-    publishers:
-      - notify-slack:
-          slack-channel: '#infra'
index 5ae2c88fe78416a3c347219a603e0d444fc1b1e6..3d33b2fb21109a3bfb100ff65aed46e7ac9f6f72 100644 (file)
@@ -47,3 +47,7 @@
     publishers:
       - notify-slack:
           slack-channel: '#infra'
+          notify-start: false
+          notify-success: false
+          notify-failure: true
+          notify-back-to-normal: true
index c0bbd8aec474a90a0f0e5925f7193f58689c2b96..87d7313b2fb763782384cafbde11822a189f5400 100644 (file)
               current-parameters: true
               git-revision: true
               abort-all-job: true
-              node-parameters: true
\ No newline at end of file
+              node-parameters: true
+
+    publishers:
+      - notify-slack:
+          slack-channel: '#geode'
+          notify-start: true
+          notify-success: true
+          notify-failure: true
+          notify-back-to-normal: true
\ No newline at end of file
index 0f559f96e0343916ddd61a30a8c8f724b6e33a75..a78b074ad4d920ebbda20bea271d5f9095029714 100644 (file)
     builders:
       - '{build-executor}'
 
-#    publishers:
-#      - notify-slack:
-#          slack-channel: '#geode'
+    publishers:
+      - notify-slack:
+          slack-channel: '#geode'
+          notify-start: true
+          notify-success: true
+          notify-failure: true
+          notify-back-to-normal: true
\ No newline at end of file
index d84c77ff809192259624fbe48c3828995db4c4fd..88b84c0894c3a54cf8cb6d303d4fc25ebeca861f 100644 (file)
@@ -82,7 +82,9 @@
       - workspace-cleanup:
           clean-if:
             - failure: false
-
-#    publishers:
-#      - notify-slack:
-#          slack-channel: '#geode'
+      - notify-slack:
+          slack-channel: '#geode'
+          notify-start: true
+          notify-success: true
+          notify-failure: true
+          notify-back-to-normal: true
index 5241119c1773fa1e82537b648bcb340751d1809d..70048b9194fa8ddc0e27ea88fb58c0b863345000 100644 (file)
@@ -37,7 +37,3 @@
     builders:
       - shell:
           !include-raw-escape: ./push-upstream-jobs.sh
-
-    publishers:
-      - notify-slack:
-          slack-channel: '#infra'
index d463b62c25969d537122e8ba74ce6afc66703d46..7ae7d228d392a2d3612e7f23b8cf41914255b293 100644 (file)
@@ -46,3 +46,7 @@
     publishers:
       - notify-slack:
           slack-channel: '#infra'
+          notify-start: false
+          notify-success: false
+          notify-failure: true
+          notify-back-to-normal: true
index b665ac7c99b371ac2ce1c46c60b6373002a80131..7f71596e26a909ee1a8fcb51b981d3db92e495c1 100644 (file)
     publishers:
       - slack:
           room: '{slack-channel}'
-          notify-failure: true
-          notify-back-to-normal: true
+          notify-start: '{notify-start}'
+          notify-success: '{notify-success}'
+          notify-failure: '{notify-failure}'
+          notify-back-to-normal: '{notify-back-to-normal}'
 
 # property to discard old builds
 - property:
index 71069785360ea44d0da78f395ac5c3c80f3f18e3..ab19211c23039d9384a6614ef5b82fc8cde6514b 100644 (file)
@@ -37,7 +37,3 @@
     builders:
       - shell:
           !include-raw-escape: ./push-upstream-jobs.sh
-
-    publishers:
-      - notify-slack:
-          slack-channel: '#infra'
index 3ae17f9ac68d19fdcc6507976835a622cf52db9e..5345d745b71bbb0744fc19e4f7ed842f0c83ff6f 100644 (file)
@@ -46,3 +46,7 @@
     publishers:
       - notify-slack:
           slack-channel: '#infra'
+          notify-start: false
+          notify-success: false
+          notify-failure: true
+          notify-back-to-normal: true
index 63743d751957df8e401248028e1983cf693f85a2..860247c657f18f292f34fcf6917b2b6d4fd87897 100644 (file)
@@ -38,7 +38,3 @@
     builders:
       - shell:
           !include-raw-escape: ./push-upstream-jobs.sh
-
-    publishers:
-      - notify-slack:
-          slack-channel: '#infra'
index 1d3d403f1fb6712e2c8675583d36872aa492b0b7..3c03959d84c1b5cea660e02f004350be42a489c9 100644 (file)
@@ -47,3 +47,7 @@
     publishers:
       - notify-slack:
           slack-channel: '#infra'
+          notify-start: false
+          notify-success: false
+          notify-failure: true
+          notify-back-to-normal: true
index 51733409c972071b3f78ce34355076c792ecce8b..af374e4d9cbb13e889cf5d47cbebe4d777f9b14a 100644 (file)
@@ -38,7 +38,3 @@
     builders:
       - shell:
           !include-raw-escape: ./push-upstream-jobs.sh
-
-    publishers:
-      - notify-slack:
-          slack-channel: '#infra'
index 83e40d59d318ce618b9023cf54ba672c3c52c28e..cadfefd57e42ef604f004de52e6fb588aae14218 100644 (file)
@@ -47,3 +47,7 @@
     publishers:
       - notify-slack:
           slack-channel: '#infra'
+          notify-start: false
+          notify-success: false
+          notify-failure: true
+          notify-back-to-normal: true