Comments (9)
So you would like to specify icon url on global plugin settings page?
from teamcity-slack.
@alexkvak thanks for the reply.
Yes, correct.
I've already customized bot profile image at bot settings, but the message from this plugin only shows default bot icon.
The message from this plugin is as below;
But when I click the profile, the bot profile image is already defined as below;
So, I thought that this issue could be resolved by the plugin global settings page, and the plugin consumes it by using icon_url
Slack api field.
from teamcity-slack.
Could you try to change Slack TeamCity user's icon?
from teamcity-slack.
I'm sorry it's quite confused; what is Slack TeamCity user
icon?
There's no TeamCity
user account actually, as this account is created by adding bot app.
I've tried two bot apps. both are providing API Token.
- Bots; https://clova.slack.com/apps/A0F7YS25R-bots?next_id=0
- Hubot; https://clova.slack.com/apps/A0F7XDU93-hubot
Note that my organization restricts bot apps and Hubot is the only one that I can use now.
from teamcity-slack.
Note that my organization restricts bot apps and Hubot is the only one that I can use now.
Probably this is the reason you don't have an icon from app?
Please also check whether your app is added to the channel.
from teamcity-slack.
@alexkvak Yes, the bot is added to channels. That's why the bot can send messages to the channel by your plugin :) The bot configuration page shows its invited channels and I confirmed that it seems OK.
from teamcity-slack.
this is how the bot is added to my slack. Please compare to your settings
from teamcity-slack.
@alexkvak I found that your bot settings page and mine look slightly different. Mine is as below;
According to document Authorship section, I think the bot we are saying could be different type; Slack App user token, and Slack App bot user token?
Or, mine is probably a workspace app.
Whatever it is, it seems they could work differently. (I don't believe the document freshness, but we can check that there can be differences between two).
I assume that icon_url
on each message could resolve the profile photo issue as this field will guarantee an icon for the one message.
from teamcity-slack.
@alexkvak I also am in need for this feature.
My Slack configuration looks like @YoungjaeKim except instead of "Hubot" it simply says "Bots".
With the url: https://{TEAM}.slack.com/apps/A0F7YS25R-bots
I believe, as @YoungjaeKim originally mentioned that the icon_url
field needs to be set, using a global configuration for the Slack plugin (as like with the SenderName)
Could you provide
icon_url
field for the message?
I'd be happy to implement this although.. my knowledge of scala is basically zero
from teamcity-slack.
Related Issues (20)
- I don't know if this plugin support personal notifications sent by the bot. HOT 4
- Invalid Auth HOT 13
- Unable to find slack channel HOT 9
- weird Unable to find slack channel issue after upgrading 1.8.1 > 2.0.2 HOT 7
- [Feature Request] Specify proxy only for Slack
- Slack notifications on templated configurations HOT 1
- Unable to find new channels HOT 9
- Plugin load error starting with version 2.0.0 (TeamCity 2019.1.5) HOT 13
- Unable to find channel with name HOT 6
- [Feature Request] Build Status Text for message output HOT 1
- [Feature Request] Allow displaying reported build stats in notifications
- Make {changes} placeholder to obtain information from build dependencies. HOT 3
- Use real buildType identifiers for buildSettings map in slackIntegration.json HOT 1
- Usage rights should be based on permission "Edit Project", not on group id "PROJECT_ADMIN" HOT 9
- Save button does not work properly. HOT 3
- Teamcity-slack plugin log4j vulnerability check HOT 2
- Skip trigger if failed because dependent job was canceled
- bug: {artifactsRelUrl} gives wrong url HOT 1
- Conditional variables?
- When using {%VARIABLE%} in the message text, the links do not change in the slack and come unformatted
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from teamcity-slack.