Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-62670

Slack notification plugin - Credentials in JCasC not working

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

            kmadel Kurt Madel
            nadbour Nada Bourounia
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: