Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update SlackUploadFileStep help-channel to use channel ID instead of … #998

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

orcunbalcilar
Copy link

@orcunbalcilar orcunbalcilar commented Aug 13, 2024

…channel name to fix misleading docs issue

Testing done

Submitter checklist

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did
  • Link to relevant issues in GitHub or Jira
  • Link to relevant pull requests, esp. upstream and downstream changes
  • Ensure you have provided tests - that demonstrates feature works or fixes the issue

@orcunbalcilar orcunbalcilar requested a review from a team as a code owner August 13, 2024 19:04
Copy link
Member

@timja timja left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't correct, whilst channel ids will be more efficient channel names are supported just fine:
https:/jenkinsci/slack-plugin/blob/master/src/main/java/jenkins/plugins/slack/cache/SlackChannelIdCache.java#L69

@orcunbalcilar
Copy link
Author

Ok, I thought it would support both. But tried many times. Only id worked. Neither channel-name nor #channel-name was able to work. I had a look at the source code. Yes some support codes were there. But no result. Maybe this is a bug. Let me check it out again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants