Who we are

We are the developers of Plastic SCM, a full version control stack (not a Git variant). We work on the strongest branching and merging you can find, and a core that doesn't cringe with huge binaries and repos. We also develop the GUIs, mergetools and everything needed to give you the full version control stack.

If you want to give it a try, download it from here.

We also code SemanticMerge, and the gmaster Git client.

How to connect Discord and Plastic SCM

Monday, March 01, 2021 Ma Nu 0 Comments

Do you want to receive Discord notifications from Plastic SCM like the one below?

Follow me; it's easy!

Discord Webhook

First, you need to find the Discord channel where you want to receive the notifications:

  1. Open the Discord channel preferences and click "Integrations".
  2. Enter the "Webhooks" area to create a new one.
  3. Copy the webhook URL because you will need it for the Plastic SCM Webtrigger.

Plastic SCM WebTrigger

Now, you have to choose the Plastic SCM action you want to send to Discord. Check the Plastic SCM triggers guide to get a complete list of operations you can notify. I decided to use after-mkbranch and after-ci, so I'll receive notifications when someone creates a new branch or runs a checkin operation. And this is how I create the trigger using the command line:

> cm tr mk after-ci NotifyTeam-Ci "webtrigger https://discord.com/api/webhooks/810908382236114944/1ibzJPH4lm13dx9-95f5dY5UP8KsgQRw4yXKu71Gj0oIflEmosidoO9714enganado01ULCvA" --server=localhost:8787
> cm tr mk after-mkbranch NotifyTeam-Branch "webtrigger https://discord.com/api/webhooks/810908382236114944/1ibzJPH4lm13dx9-95f5dY5UP8KsgQRw4yXKu71Gj0oIflEmosidoO9714enganado01ULCvA" --server=localhost:8787

To test the notifications, you need to run the Plastic SCM operation you chose while creating the Plastic SCM Webtriggers. In my case, if I make a new branch, I get this notification:

And every time there's a checkin operation at the repository, I get this other message:

Availability

You can start using this new feature with the 9.0.16.5128 Plastic SCM release (and higher).

Manuel Lucio
I'm in charge of the Customer Support area.
I deal with complex setups, policies and working methodologies on a daily basis.
Prior to taking full responsibility of support, I worked as software engineer. I have been in charge of load testing for quite some time, so if you want to know how well Plastic compares to SVN or P4 under a really heavy load, I'm your guy.
I like to play with Arduino GPS devices, mountain biking and playing tennis.
You can find me hooked to my iPhone, skate-boarding or learning Korean... and also here @mrcatacroquer.

0 comentarios: