Now, back in Xcode, right click on main under Default and select Start build. Now, select Done and save your new workflow. Here my channels did show and I could select the random channel. However, what I did was I opened my app in AppStore Connect and navigated to the Xcode Cloud tab > Manage Workflows > Default, here I went down to the bottom of the page where is stated “Slack” and selected the edit button. Now, full disclosure… I had issues adding a channel here. Once you have selected the Allow button, the browser would try to open Xcode again and have you select a channel to post to. but there issn’t really anything happening there though… so I’d say. Yes, you could try to join that workspace. If you want to change workspace to add it to, you can select a different workspace in the top right corner.įor this article, I’m using one of my own workspaces in Slack on which I have admin rights. Select the Connect button and your webbrowser will open and browse to a page where you can add the Xcode Cloud app to your workspace. Xcode will now ask you to connect your teams workspace. Here you can select the (+) under “Slack”. In the left hand menu, navigate to the Post-Actions section and select the action Notify. Now right click the Default workflow and select Edit workflow. Xcode will now show you your workflows which you created in the previous article, if you followed it step-by-step, it’ll be called Default. Now that you have your project ready, lets pop open the project in Xcode and navigate to the report tab (CMD + 9), and select the Cloud tab. Being familiar with Slack Apps is also a pro, which is what you are going to setup here. You will also need to be able to change the Slack settings for the team you want to implement this for. In this article we’re going to continue to use the same demo repo which I’ve setup in the last article, this project is located on GitHub and can be found here. ![]() Usually, when you connect something with slack, you see a drop-down in the top right where you can choose, which slack-workspace you want to connect, but this is excluded in the first place here:Īnd because - I guess - sentry only allows "one request/callback URL" - there is currently no chance to distinguish between different workspaces.This article is an continuation on the previous article I wrote called Getting Started with Xcode Cloud, I assume that you already have setup your Xcode cloud by now. whatever.īut sentry currently is false designed by that fact, that there is only one slack.client-id and only one central request-url, that´s the problem here.īecause of the slack.client-id : when you try to connect sentry with slack, sentry creates slack login URL, that is already bounded to the workspace, that is connected with this slack.client-id. everybody is able to choose his own name, logo. ![]() every slack workspace owner is able to create this app, as he likes. it´s a "custom app, only available inside your workspace". add your slack workspace in sentry (as you did before)ĭisable the 2nd pair of slack-ids in the sentry config, restart sentryįor (1) you will have the full functionality with slack:īetter than nothing first: i strongly hope, that a fix is not seen as "changing the documentation" □ that wouldn´t solve the "failed by concept" problem here □ secondly: what do you mean with "publish your app" ? every workspace owner just creates a "custom app" as explained in the docs.create a new app in your 2nd slack workspace (follow the docu).just create a new set of config keys in the sentry config, don´t worry, the first set and your first workspace will not (fully) work while you have a 2nd pair of configs in your sentry config, because the 2nd IDs are overwriting the first set of slack IDs.create a new app in slack (follow the docu).add the necessary keys to the config (slack.client-id.So here´s the simple hack, similar to what explained: it makes no sense having multiple "organizations" in sentry but only being able to use one slack workspace ) usually every organization has it´s own slack workspace (of course). Just FYI - you cannot use the full functionality of slack with multiple workspaces, like "mark an issue as resolved inside slack", but at least you can enable slack-notifications to multiple slack-workspaces, it´s a hack and it´s very sad, that nobody thought about supporting multiple workspaces.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |