Define Project Template Rules
Rules define which artifacts are copied from the template project to the new project.
When you define a project as a project template, all rules will be enabled by default. However, some rules can't be edited or added more than once.
Here are the available rules and information about the artifacts that are copied from the project template to the new project:
Use this rule ... | To copy: | Can this rule be edited? | Can this rule be added more than once? |
---|---|---|---|
Build Jobs |
Build jobs and pipelines of the project template to the new project. |
No |
No |
Wiki Content |
Wiki pages of the project template to the new project. |
No |
No |
Links |
Link rules of the project template to the new project. |
No |
No |
Git Repository |
Specified Git repositories along with its branches to the new project. |
Yes |
Yes |
External Git Repository |
Specified external Git repository along with its branches to the new project. |
Yes |
Yes |
Announcements |
Announcements of the project template to the new project. |
No |
No |
To add or remove a rule, follow these steps.
- Open the Template Settings page.
- To add a rule, scroll to the Rules section. From the
Add Rule drop-down list, select the Git
Repository rule.
To remove a rule, click Remove
.