Slack notification plugin - Credentials in JCasC not working

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      Hi,

      I tried to add credentials through JCasC but the token doesn't seem to be recognized.

      I tried to put the token as is and I tried to base64 encode it as well.

      Any ideas please?

      This is how I added it:

      credentials:
          system:
             domainCredentials:
                - credentials:
                    - string:
                         scope: GLOBAL
                         id: slack-token
                         secret: '${SLACK_TOKEN}'
                         description: Slack token

            Assignee:
            Kurt Madel
            Reporter:
            Nada Bourounia
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: