Jenkins-operator slack notification

Hello, I am using by jenkins-operator 7.0.1. I defined the slack notification:
1.
notifications:

  • level: info
    verbose: true
    name: ‘#channel_name
    slack:
    webHookURLSecretKeySelector:
    secret:
    name: jenkins-operator-notification-data
    key: url
  1. Created the secret:
    kubectl create secret generic jenkins-operator-notification-data --from-literal=url=<webhook_url>
    But still did not get the notification in my slack channel.
    Can you please assist me?
    Thanks,
    Irina Rozalio

Hi @Ira1 I think you missed to add the secret to `spec.groovyScripts.secret.name’ see Customizing Jenkins | Jenkins Operator

1 Like