rht-labs / s2i-config-jenkins

6 stars 32 forks source link

Update slack #18

Closed mcanoy closed 4 years ago

mcanoy commented 4 years ago

Slack configuration was broken. This PR fixes the integration. The plugin is not supporting a reference to the slack token in plain text format. The script will now only except a reference to the slack token via a credential (see OCP secret example below).

kind: Secret
type: Opaque
metadata:
  labels:
    credential.sync.jenkins.openshift.io: 'true'
    build: "jenkins"
    app: "jenkins"
  name: "slack-token"
stringData:
  secrettext: "super-secret-token"

cc: @pcarney8 @haithamshahin333