Skip to content

Commit 1cd1e45

Browse files
Raycomstcuser
authored andcommitted
TeamCity change in 'Let's Dev Together / BlockUI' project: Synchronization with own VCS root is enabled
1 parent c2b4888 commit 1cd1e45

File tree

13 files changed

+262
-0
lines changed

13 files changed

+262
-0
lines changed
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" parent-id="LetSDevTogether" xsi:noNamespaceSchemaLocation="https://www.jetbrains.com/teamcity/schemas/2021.1/project-config.xsd">
3+
<name>BlockUI</name>
4+
<description>XML Driven UI Library</description>
5+
<parameters>
6+
<param name="Current Minecraft Version" value="main" />
7+
<param name="Default.Branch" value="version/main" />
8+
<param name="Project.Type" value="mods" />
9+
<param name="Repository" value="ldtteam/blockUI" spec="text label='Repository' description='The repository for BlockUI.' validationMode='any' readOnly='true'" />
10+
<param name="Upsource.Project.Id" value="blockui" />
11+
<param name="env.GRADLE_VERSION" value="7.3" />
12+
<param name="env.JDK_VERSION" value="jdk17" />
13+
<param name="env.Version" value="%env.Version.Major%.%env.Version.Minor%.%env.Version.Patch%%env.Version.Suffix%" spec="text label='Version' description='The version of the project.' display='hidden' validationMode='any'" />
14+
<param name="env.Version.Major" value="1" />
15+
<param name="env.Version.Minor" value="0" />
16+
<param name="env.Version.Patch" value="0" />
17+
<param name="env.Version.Suffix" value="" />
18+
<param name="filename.prefix" value="blockui" />
19+
</parameters>
20+
<project-extensions>
21+
<extension id="PROJECT_EXT_1" type="versionedSettings">
22+
<parameters>
23+
<param name="buildSettings" value="PREFER_VCS" />
24+
<param name="credentialsStorageType" value="credentialsJSON" />
25+
<param name="enabled" value="true" />
26+
<param name="format" value="kotlin" />
27+
<param name="rootId" value="LetSDevTogether_General" />
28+
<param name="showChanges" value="true" />
29+
<param name="useRelativeIds" value="true" />
30+
</parameters>
31+
</extension>
32+
<extension id="PROJECT_EXT_35" type="IssueTracker">
33+
<parameters>
34+
<param name="authType" value="accesstoken" />
35+
<param name="name" value="ldtteam/blockui" />
36+
<param name="pattern" value="#(\d+)" />
37+
<param name="repository" value="https://github.com/ldtteam/blockui" />
38+
<param name="secure:accessToken" value="credentialsJSON:47381468-aceb-4992-93c9-1ccd4d7aa67f" />
39+
<param name="secure:password" value="" />
40+
<param name="type" value="GithubIssues" />
41+
<param name="username" value="" />
42+
</parameters>
43+
</extension>
44+
</project-extensions>
45+
<cleanup />
46+
<subprojectsOrder order="LetSDevTogether_BlockUI_Release,LetSDevTogether_BlockUI_UpgradeBetaRelease,LetSDevTogether_BlockUI_OfficialPublications,LetSDevTogether_BlockUI_Branches,LetSDevTogether_BlockUI_PullRequests2" />
47+
</project>
48+
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<build-type xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://www.jetbrains.com/teamcity/schemas/2021.1/project-config.xsd">
3+
<name>Build</name>
4+
<description>Builds the branch without testing.</description>
5+
<settings ref="LetSDevTogether_Build">
6+
<parameters>
7+
<param name="Project.Type" value="mods" />
8+
<param name="env.Version.Patch" value="%dep.LetSDevTogether_BlockUI_Branches_Common.build.number%" />
9+
</parameters>
10+
<build-runners />
11+
<vcs-settings />
12+
<requirements />
13+
<build-triggers />
14+
<dependencies>
15+
<depend-on sourceBuildTypeId="LetSDevTogether_BlockUI_Branches_Common" />
16+
</dependencies>
17+
<cleanup />
18+
</settings>
19+
</build-type>
20+
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<build-type xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://www.jetbrains.com/teamcity/schemas/2021.1/project-config.xsd">
3+
<name>Common Build Counter</name>
4+
<description>Tracks the amount of builds run for branches</description>
5+
<settings ref="LetSDevTogether_CommonBuildCounter">
6+
<parameters />
7+
<build-runners />
8+
<vcs-settings />
9+
<requirements />
10+
<build-triggers />
11+
<cleanup />
12+
</settings>
13+
</build-type>
14+
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" parent-id="LetSDevTogether_BlockUI" xsi:noNamespaceSchemaLocation="https://www.jetbrains.com/teamcity/schemas/2021.1/project-config.xsd">
3+
<name>Branches</name>
4+
<description>All none release branches.</description>
5+
<parameters>
6+
<param name="Default.Branch" value="CI/Default" spec="text label='Default branch' description='The default branch for branch builds' validationMode='any' readOnly='true'" />
7+
<param name="VCS.Branches"><![CDATA[+:refs/heads/(*)
8+
-:refs/heads/version/*
9+
-:refs/heads/testing/*
10+
-:refs/heads/release/*
11+
-:refs/pull/*/head
12+
-:refs/heads/CI/*]]></param>
13+
<param name="env.Version.Suffix" value="-PERSONAL" />
14+
</parameters>
15+
<cleanup>
16+
<policy type="days" cleanup-level="EVERYTHING">
17+
<parameters>
18+
<param name="keepDays.count" value="60" />
19+
</parameters>
20+
</policy>
21+
</cleanup>
22+
</project>
23+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<build-type xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://www.jetbrains.com/teamcity/schemas/2021.1/project-config.xsd">
3+
<name>Common Build Counter</name>
4+
<description>Represents the version counter within Minecolonies for official releases.</description>
5+
<settings ref="LetSDevTogether_CommonBuildCounter">
6+
<parameters />
7+
<build-runners />
8+
<vcs-settings />
9+
<requirements />
10+
<build-triggers />
11+
<cleanup />
12+
</settings>
13+
</build-type>
14+
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" parent-id="LetSDevTogether_BlockUI" xsi:noNamespaceSchemaLocation="https://www.jetbrains.com/teamcity/schemas/2021.1/project-config.xsd">
3+
<name>Official Publications</name>
4+
<description>Holds projects and builds related to official publications</description>
5+
<parameters />
6+
<cleanup />
7+
</project>
8+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<build-type xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://www.jetbrains.com/teamcity/schemas/2021.1/project-config.xsd">
3+
<name>Build and Test</name>
4+
<description>Builds and Tests the pull request.</description>
5+
<settings ref="LetSDevTogether_BuildWithTesting">
6+
<options>
7+
<option name="artifactRules" value="+:build\libs\*.jar =&gt; build\libs&#xA;+:build\distributions\mods-*.zip =&gt; build\distributions" />
8+
</options>
9+
<disabled-settings>
10+
<setting-ref ref="BUILD_EXT_15" />
11+
</disabled-settings>
12+
<parameters>
13+
<param name="env.Version.Patch" value="%dep.LetSDevTogether_BlockUI_PullRequests2CommonBuildCounter.build.number%" />
14+
<param name="env.Version.Suffix" value="-PR" />
15+
</parameters>
16+
<build-runners />
17+
<vcs-settings />
18+
<requirements />
19+
<build-triggers />
20+
<build-extensions>
21+
<extension id="com.ldtteam.teamcity.github.commenting.GithubCommentingBuildFeature" type="com.ldtteam.teamcity.github.commenting.GithubCommentingBuildFeature">
22+
<parameters>
23+
<param name="appId" value="154983" />
24+
<param name="branch" value="%teamcity.build.branch%" />
25+
<param name="privateKey" value="-----" />
26+
</parameters>
27+
</extension>
28+
</build-extensions>
29+
<dependencies>
30+
<depend-on sourceBuildTypeId="LetSDevTogether_BlockUI_PullRequests2CommonBuildCounter">
31+
<options>
32+
<option name="take-started-build-with-same-revisions" value="true" />
33+
<option name="take-successful-builds-only" value="true" />
34+
</options>
35+
</depend-on>
36+
</dependencies>
37+
<cleanup />
38+
</settings>
39+
</build-type>
40+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<build-type xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://www.jetbrains.com/teamcity/schemas/2021.1/project-config.xsd">
3+
<name>Common Build Counter</name>
4+
<description>Defines version numbers uniquely over all Pull Request builds</description>
5+
<settings ref="LetSDevTogether_CommonBuildCounter">
6+
<parameters />
7+
<build-runners />
8+
<vcs-settings />
9+
<requirements />
10+
<build-triggers />
11+
<cleanup />
12+
</settings>
13+
</build-type>
14+
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" parent-id="LetSDevTogether_BlockUI" xsi:noNamespaceSchemaLocation="https://www.jetbrains.com/teamcity/schemas/2021.1/project-config.xsd">
3+
<name>Pull Requests</name>
4+
<description>All open pull requests</description>
5+
<parameters>
6+
<param name="Default.Branch" value="CI/Default" spec="text label='Default branch' description='The default branch for pull requests.' validationMode='not_empty' readOnly='true'" />
7+
<param name="VCS.Branches"><![CDATA[-:refs/heads/*
8+
+:refs/pull/(*)/head
9+
-:refs/heads/(CI/*)]]></param>
10+
<param name="env.Version" value="%env.Version.Major%.%env.Version.Minor%.%build.counter%-PR" spec="text label='Version' description='The version of the project.' display='hidden' validationMode='any'" />
11+
</parameters>
12+
<cleanup>
13+
<policy type="days" cleanup-level="EVERYTHING">
14+
<parameters>
15+
<param name="keepDays.count" value="60" />
16+
</parameters>
17+
</policy>
18+
</cleanup>
19+
</project>
20+
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<build-type xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://www.jetbrains.com/teamcity/schemas/2021.1/project-config.xsd">
3+
<name>Release</name>
4+
<description>Releases the mod as Release to CurseForge</description>
5+
<settings ref="LetSDevTogether_BuildWithRelease">
6+
<parameters>
7+
<param name="Project.Type" value="mods" />
8+
<param name="env.Version.Patch" value="%dep.LetSDevTogether_BlockUI_OfficialPublications_CommonB.build.number%" />
9+
</parameters>
10+
<build-runners />
11+
<vcs-settings />
12+
<requirements />
13+
<build-triggers />
14+
<dependencies>
15+
<depend-on sourceBuildTypeId="LetSDevTogether_BlockUI_OfficialPublications_CommonB" />
16+
</dependencies>
17+
<cleanup />
18+
</settings>
19+
</build-type>
20+

0 commit comments

Comments
 (0)