Fix: Add Slack token ID
[infra/cicd.git] / jjb / global / jjb-macros.yaml
index d9a37c502a1df8537728cd24371b59d61a78a827..115056865ec5606c14efbaf5ef7d5e6bb7e52516 100644 (file)
     wrappers:
       - credentials-binding:
           - username-password-separated:
-              credential-id: nordix-eiffel-github-token
+              credential-id: nordixinfra-eiffel-username-personal-access-token
               username: NORDIXINFRA_GITHUB_USERNAME
               password: NORDIXINFRA_GITHUB_TOKEN
 
+# wrappers to use for jobs
+- wrapper:
+    name: nordix-gerrit-http-api-token
+    wrappers:
+      - credentials-binding:
+          - username-password-separated:
+              credential-id: nordixinfra-nordix-gerrit-http-api-token
+              username: GERRIT_USER
+              password: GERRIT_API_KEY
+
 # timeout wrapper to use for jobs
 - wrapper:
     name: build-timeout
     publishers:
       - slack:
           room: '{slack-channel}'
+          team-domain: 'estech-group'
+          auth-token-id: '80b240ad-8921-4633-9130-41b4efb19b00'
           notify-start: '{notify-start}'
           notify-success: '{notify-success}'
           notify-failure: '{notify-failure}'