기술 자료

​
​

Development

User Acquisition

Monetization

산업 분야

Unity Version Control

DevOps

On-prem

Gluon

Editor plug-in

Open Unity Dashboard

Unity Version Control

이 페이지는 선택한 언어로 제공되지 않습니다.
​
​
Unity Version Control
  • Overview
  • Cloud Repositories organization update
  • Installation
  • Use UVCS with the Unity Editor
  • Unity Version Control plugins
  • Concepts
  • Tutorials
    • Migrate from Git
    • Migrate from Perforce
    • Version Control settings
    • Configure the client
    • Version Control workflow
    • Version Control tools
      • Enable dynamic workspaces (Windows)
      • Create a label
      • Create an attribute
      • Create a mergebot
      • Use Smart Locks
      • Use Xlinks
      • Use Unity Samples
      • Use triggers
        • Create your first trigger
        • Trigger checkin samples
        • Verify label creation
        • Update files before checkout
        • Example triggers
        • Create a Slack web trigger
        • Create a Discord web trigger
      • Transfer project to a different organization
  • On-Prem
  • Gluon
  • CLI and shortcut references
  • Release Notes
  1. Unity Version Control (previously Plastic SCM)

Create a Slack web trigger

Set up Slack webtriggers for notifications in Unity Version Control.
읽는 시간 2분
최근 업데이트: 10달 전

You can create a web trigger to connect Unity Version Control with Slack to receive notifications. The notification includes the information available to the specific trigger that you use.

Configure Slack

To configure Slack, you first need to make a Slack application with the correct scopes:
  1. In the Apps section, select Add apps > App Directory.
  2. In the browser that opens, select Build > Your Apps.
  3. Select Create an App > From scratch.
  4. Add the name of your app, select the workspace you want to use, and select Create App.
  5. Select Bots to add bot functionality and then select Review scopes to add.
  6. Add the following scopes:
    • channels:read
    • chat:write
    • groups:read
    • im:read
    • mpim:read
    • users:read
  7. Select Install to Workspace or Request to Install, dependent on your workspace permissions, and make a note of the Bot User OAuth Token that generates.
Once you install your app to your workspace, you can set it up and get the information you need in your Slack application:
  1. In the Apps section, select Add apps > App Directory, search for your app and select it.
  2. Right-click on the app and select View app details.
  3. Select Add this app to a channel and select the channel you want to use from the dropdown.

Make the web trigger

To create the Slack web trigger, you need the Bot User OAuth Token from when you install your app into Slack, and the channel name of the channel you added the app to.
You need to use the
webtrigger-slack
string (instead of
webtrigger
) before the script path, followed by the Slack channel:
webtrigger-slack https://slack.com/api/chat.postMessage/${channelOrUserId}/${slackBotToken}

Example Slack web triggers

The trigger below causes the server to post a message to Slack after every check in made in the server
myPlasticServer
. The message includes details such as the check in comment, the check in author, and the specification of the changeset the operation created.
  • cm trigger make after-checkin MySlackAfterCheckinTrigger "webtrigger-slack https://slack.com/api/chat.postMessage/<channelId or UserId>/xoxb-SlackBotToken" --server=myPlasticServer
  • cm trigger edit after-checkin 3 "webtrigger-slack https://slack.com/api/chat.postMessage/<channelId or UserId>/xoxb-SlackBotToken"

Copyright © 2026 Unity Technologies
법률 정보개인정보 처리방침쿠키Documentation Terms of Use개인 정보 판매 또는 공유 금지개인정보 보호 선택(쿠키 설정)

'Unity', Unity 로고 및 기타 Unity 상표는 미국 및 기타 지역 내 Unity Technologies 또는 그 계열사의 상표 또는 등록상표입니다(자세한 내용은 여기에서 확인하세요). 기타 명칭 또는 브랜드는 해당 소유자의 상표입니다.

일부 페이지는 편의를 위해 기계 번역되었으며 부정확한 내용이 있을 수 있습니다. 정보가 상충되는 경우, 영어 버전을 우선으로 참조하세요.

  • 보고 있는 페이지
    • Configure Slack

    • Make the web trigger

      • Example Slack web triggers


이 페이지의 문제 보고