Skip to content

Commit

Permalink
Jenkins slack (#65)
Browse files Browse the repository at this point in the history
* slack change token to token id

* slack change token to token id
  • Loading branch information
mcanoy authored and pabrahamsson committed Nov 6, 2019
1 parent 9425664 commit 9e9c193
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 8 deletions.
13 changes: 9 additions & 4 deletions jenkins/jenkins-ephemeral-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,10 @@ objects:
value: ${SLACK_BASE_URL}
- name: SLACK_ROOM
value: ${SLACK_ROOM}
- name: SLACK_TOKEN
value: ${SLACK_TOKEN}
- name: SLACK_TEAM
value: ${SLACK_TEAM}
- name: SLACK_TOKEN_CREDENTIAL_ID
value: ${SLACK_TOKEN_CREDENTIAL_ID}
- name: SHARED_LIB_REPO
value: ${SHARED_LIB_REPO}
- name: SHARED_LIB_NAME
Expand Down Expand Up @@ -258,12 +260,15 @@ parameters:
- description: The integration point with slack
displayName: Slack Base URL
name: SLACK_BASE_URL
- description: The default slack team
displayName: Default Slack Team
name: SLACK_TEAM
- description: The default slack channel
displayName: Default Slack Channel
name: SLACK_ROOM
- description: Slack Token
displayName: Slack Token
name: SLACK_TOKEN
displayName: The id of a secret that is sync'd to Jenkins that contains the token in secrettext
name: SLACK_TOKEN_CREDENTIAL_ID
- description: Jenkins Shared Library Repository URL
displayName: Jenkins Shared Library Repo URL
name: SHARED_LIB_REPO
Expand Down
13 changes: 9 additions & 4 deletions jenkins/jenkins-persistent-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,10 @@ objects:
value: ${SLACK_BASE_URL}
- name: SLACK_ROOM
value: ${SLACK_ROOM}
- name: SLACK_TOKEN
value: ${SLACK_TOKEN}
- name: SLACK_TOKEN_CREDENTIAL_ID
value: ${SLACK_TOKEN_CREDENTIAL_ID}
- name: SLACK_TEAM
value: ${SLACK_TEAM}
- name: SHARED_LIB_REPO
value: ${SHARED_LIB_REPO}
- name: SHARED_LIB_NAME
Expand Down Expand Up @@ -275,12 +277,15 @@ parameters:
- description: The integration point with slack
displayName: Slack Base URL
name: SLACK_BASE_URL
- description: The default slack team
displayName: Default Slack Team
name: SLACK_TEAM
- description: The default slack channel
displayName: Default Slack Channel
name: SLACK_ROOM
- description: Slack Token
displayName: Slack Token
name: SLACK_TOKEN
displayName: The id of a secret that is sync'd to Jenkins that contains the token in secrettext
name: SLACK_TOKEN_CREDENTIAL_ID
- description: Jenkins Shared Library Repository URL
displayName: Jenkins Shared Library Repo URL
name: SHARED_LIB_REPO
Expand Down

0 comments on commit 9e9c193

Please sign in to comment.