기술 자료

​
​

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
    • Organizations
    • Repositories
    • Workflows and partial replicas
    • Security
    • Dynamic workspaces (Windows)
    • File explorer
    • Code reviews
    • Branches
    • Merge conflicts
    • Mergebots
    • Xlinks
    • Smart Locks
    • Symlink Support
    • Triggers
  • Tutorials
  • On-Prem
  • Gluon
  • CLI and shortcut references
  • Release Notes
  1. Unity Version Control (previously Plastic SCM)

Mergebots

Create a mergebot to automate merges and tasks in your repository.
읽는 시간 3분
최근 업데이트: 2달 전

A mergebot is a tool that you can use to automate parts of your merge process. Mergebots check that a merge request meets specified conditions before it merges into your destination branch. This automation can help you can work faster and reduce room for errors.
For example, you can set up a mergebot to automate the following tasks:
  • Check merge request review statuses and merge conflicts.
  • Use individual status parameter attributes and values to trigger a merge request automatically.
  • Re-queue merge requests that fail due to new changes in the destination branch.
  • Notify team members of successful merges and trigger external tools.
For information on how to set up a mergebot, refer to Create a mergebot. For a full tutorial on how to create a Trunk bot, refer to the Create a mergebot Unity Learn tutorial.

Mergebot configuration

Branch configuration

The Destination branch that you select is the branch that a trunk bot merges task branches into, and the branch that a conflicts bot checks for merge conflicts. The destination branch is usually your main branch.
You can enter a specific Branch prefix to further filter the branches that your mergebot processes.

Types of mergebot

Mergebot type

Description

Trunk botA trunk bot automatically merges task branches into your destination branch. You can further configure your trunk bot behavior and which branches the trunk bot processes. You can also set up an integration to automatically trigger builds.
Conflicts botA conflicts bot automatically detects merge conflicts on task branches before you merge your changes.

Status parameters

Mergebots use a branch's status attribute to detect which branches the mergebot should process. You can edit the attribute name according to your workflow.

Status parameter

Default value

Description

Status attribute
status
The name of the attribute that the mergebot detects to process a branch.
Resolved value
resolved
The mergebot processes branches with this attribute value.
Failed value
failed
When a merge fails, the mergebot sets the status attribute to
failed
.
Merged value
merged
When a merge completes, the mergebot sets the status attribute to
merged
.
Testing value
testing
A test value for the status attribute.

Trunk bot options

The following configuration options are only available for a trunk bot.

Field

Description

Only process reviewed branchesThis option ensures that the mergebot only merges reviewed branches.
Re-enqueue branches that failed due to detected changes in the destination branchThis option ensures that when the destination branch has new changes, the mergebot re-queues a merge to include the new changes.
Label merged changesetThis option ensures that the mergebot labels all merged changesets. You can then enter a Label pattern to define what label the mergebot adds. For example,
LABEL.${AUTO_INCREMENT_NUMBER}_${BUILD_DATE_FORMATTED, yyyy-MM-dd}
adds a label in this format:
LABEL.128.2018-10-23
.

Advanced settings

CI integration

You can set up Continuous Integration (CI integration) so that your trunk mergebot triggers a build when it merges changes. The mergebot integrates with Jenkins, Bamboo, and TeamCity.
To set up a CI integration, you need the base URL of your system server, and your username and password to connect to the platform system.
참고
CI integration is only available for trunk bots.

Notifier integration

You can add a Notifier integration to both conflict and trunk mergebots so that the mergebot can send users status notifications. You can send notifications through either Slack or email.
To use Slack, you need your Slack Token to connect to the Slack API. To use Email, you need the sender email address and password. You also server URL and port of the SMTP server that you want to use to send the emails.

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

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

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

  • 보고 있는 페이지
    • Mergebot configuration

      • Branch configuration

      • Types of mergebot

      • Status parameters

      • Trunk bot options

    • Advanced settings

      • CI integration

      • Notifier integration


이 페이지의 문제 보고