<freeStyleBuild _class='hudson.model.FreeStyleBuild'><action _class='hudson.model.CauseAction'><cause _class='com.cloudbees.jenkins.GitHubPushCause'><shortDescription>Started by GitHub push by ti-chi-bot[bot]</shortDescription></cause><cause _class='com.cloudbees.jenkins.GitHubPushCause'><shortDescription>Started by GitHub push by ti-chi-bot[bot]</shortDescription></cause></action><action></action><action _class='jenkins.metrics.impl.TimeInQueueAction'><blockedDurationMillis>0</blockedDurationMillis><blockedTimeMillis>0</blockedTimeMillis><buildableDurationMillis>16648</buildableDurationMillis><buildableTimeMillis>16648</buildableTimeMillis><buildingDurationMillis>50102</buildingDurationMillis><executingTimeMillis>50102</executingTimeMillis><executorUtilization>1.0</executorUtilization><subTaskCount>0</subTaskCount><waitingDurationMillis>5351</waitingDurationMillis><waitingTimeMillis>5351</waitingTimeMillis></action><action _class='hudson.plugins.git.util.BuildData'><buildsByBranchName><originmain _class='hudson.plugins.git.util.Build'><buildNumber>1104</buildNumber><marked><SHA1>3c3e9f56093d0a23651a0f6014828f718f12de98</SHA1><branch><SHA1>3c3e9f56093d0a23651a0f6014828f718f12de98</SHA1><name>origin/main</name></branch></marked><revision><SHA1>3c3e9f56093d0a23651a0f6014828f718f12de98</SHA1><branch><SHA1>3c3e9f56093d0a23651a0f6014828f718f12de98</SHA1><name>origin/main</name></branch></revision></originmain></buildsByBranchName><lastBuiltRevision><SHA1>3c3e9f56093d0a23651a0f6014828f718f12de98</SHA1><branch><SHA1>3c3e9f56093d0a23651a0f6014828f718f12de98</SHA1><name>origin/main</name></branch></lastBuiltRevision><remoteUrl>https://github.com/PingCAP-QE/ci.git</remoteUrl><scmName></scmName></action><action></action><action></action><action></action><action></action><action></action><action></action><action _class='org.jenkinsci.plugins.displayurlapi.actions.RunDisplayAction'></action><building>false</building><displayName>#1104</displayName><duration>50102</duration><estimatedDuration>80415</estimatedDuration><fullDisplayName>seed #1104</fullDisplayName><id>1104</id><inProgress>false</inProgress><keepLog>false</keepLog><number>1104</number><queueId>2245597</queueId><result>SUCCESS</result><timestamp>1761188755327</timestamp><url>https://do.pingcap.net/jenkins/view/all/job/seed/1104/</url><builtOn>default-4jqjs</builtOn><changeSet _class='hudson.plugins.git.GitChangeSetList'><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>tekton/v0/triggers/triggers/pingcap/tiproxy/git-create-tag.yaml</affectedPath><affectedPath>tekton/v1/triggers/triggers/_/git-create-tag-build-ng.yaml</affectedPath><affectedPath>tekton/v0/triggers/triggers/pingcap/tiproxy/git-push.yaml</affectedPath><affectedPath>tekton/v1/triggers/triggers/_/git-push-branch-build-ng.yaml</affectedPath><commitId>3c3e9f56093d0a23651a0f6014828f718f12de98</commitId><timestamp>1761188728000</timestamp><author><absoluteUrl>https://do.pingcap.net/jenkins/user/noreply</absoluteUrl><fullName>noreply</fullName></author><authorEmail>noreply@github.com</authorEmail><comment>chore(tekton/v1): add release-8.5 branch and tag support for pingcap/ticdc next-gen builds (#3840)

## Overview
This PR enables building and pushing next-gen artifacts for
`pingcap/ticdc` on the `release-8.5` branch and on tags, as requested in
the issue.

## Changes
Created standalone trigger files for `pingcap/ticdc` in
`tekton/v1/triggers/triggers/pingcap/ticdc/`:

1. **`git-push-branch-build-ng.yaml`** - Handles branch push events for
the `release-8.5` branch, `master`, and `release-nextgen-*` branches
specifically for the `pingcap/ticdc` repository.

2. **`git-create-tag-build-ng.yaml`** - Handles tag creation events for
`pingcap/ticdc` to support both nextgen tags and hotfix tags in the
range [v8.5.4-9, ∞).

3. **`kustomization.yaml`** - Updated to include the new standalone
trigger files.

### Implementation Approach
The triggers are implemented as standalone files following the same
pattern as the existing `tikv/tikv` triggers, rather than modifying
shared trigger files. This approach:
- Isolates ticdc-specific configuration
- Avoids impacting other repositories
- Makes maintenance easier

### Branch Trigger
Matches the following branch patterns for `pingcap/ticdc`:
```yaml
body.repository.full_name == 'pingcap/ticdc'
&amp;&amp;
body.ref.matches('^refs/heads/(master|release-nextgen-[0-9]+|release-8\.5)$')
```

### Tag Trigger
Supports two tag formats for `pingcap/ticdc`:
- **Nextgen tags**: `v*.*.*-nextgen.YYMMDD.N` (e.g.,
`v8.5.0-nextgen.241022.1`)
- **Hotfix tags &gt;= v8.5.4-9**: `vX.Y.Z-N` where version &gt;= 8.5.4-9
(e.g., `v8.5.4-9`, `v8.5.5-1`, `v9.0.0-1`)

## Functionality
With this change:
1. **Branch builds**: Pushes to the `release-8.5`, `master`, and
`release-nextgen-*` branches in `pingcap/ticdc` will trigger next-gen
artifact builds
2. **Tag builds**: 
   - Nextgen tags with pattern `v*.*.*-nextgen.YYMMDD.N` 
   - Hotfix/build tags in range [v8.5.4-9, ∞) with pattern `vX.Y.Z-N`

### Supported Tag Examples
✅ Will trigger builds:
- `v8.5.4-9`, `v8.5.4-10` (exact and above threshold)
- `v8.5.5-1`, `v8.6.0-1` (higher patch/minor versions)
- `v9.0.0-1` and all future versions
- `v8.5.0-nextgen.241022.1` (nextgen format)

✗ Won't trigger builds:
- `v8.5.4-8` (below threshold)
- `v8.5.3-10` (patch version too low)

## Build Configuration
When triggered, builds will use:
- Profile: `next-gen`
- Registry: `us-docker.pkg.dev/pingcap-testing-account/hub`
- Resources: 4 CPU, 16Gi memory, 50Gi workspace
- Timeout: 20 minutes
- Architectures: amd64 and arm64

## Validation
- ✅ YAML syntax validated
- ✅ Branch pattern tested: correctly matches `release-8.5`, `master`,
and `release-nextgen-*` for ticdc
- ✅ Tag patterns verified: supports both nextgen and hotfix tag formats
- ✅ Version comparison logic tested with 12 test cases
- ✅ Standalone files follow existing pattern (tikv/tikv)
- ✅ No impact on other repositories

Fixes PingCAP-QE/ci#3838

&lt;!-- START COPILOT CODING AGENT SUFFIX --&gt;



&lt;details&gt;

&lt;summary&gt;Original prompt&lt;/summary&gt;

&gt; 
&gt; ----
&gt; 
&gt; *This section details on the original issue you should resolve*
&gt; 
&gt; &lt;issue_title&gt;[Next-Gen] build and push next-gen artifacts for
`pingcap/ticdc` on `release-8.5` branch and on tags.&lt;/issue_title&gt;
&gt; &lt;issue_description&gt;&lt;/issue_description&gt;
&gt; 
&gt; &lt;agent_instructions&gt;implement it in `tekton/v1`
folder&lt;/agent_instructions&gt;
&gt; 
&gt; ## Comments on the Issue (you are @copilot in this section)
&gt; 
&gt; &lt;comments&gt;
&gt; &lt;/comments&gt;
&gt; 


&lt;/details&gt;

Fixes PingCAP-QE/ci#3838

&lt;!-- START COPILOT CODING AGENT TIPS --&gt;
---

💬 We'd love your input! Share your thoughts on Copilot coding agent in
our [2 minute
survey](https://survey3.medallia.com/?EAHeSx-AP01bZqG0Ld9QLQ).

---------

Co-authored-by: copilot-swe-agent[bot] &lt;198982749+Copilot@users.noreply.github.com&gt;
Co-authored-by: wuhuizuo &lt;2574558+wuhuizuo@users.noreply.github.com&gt;
Co-authored-by: wuhuizuo &lt;wuhuizuo@126.com&gt;
</comment><date>2025-10-23 03:05:28 +0000</date><id>3c3e9f56093d0a23651a0f6014828f718f12de98</id><msg>chore(tekton/v1): add release-8.5 branch and tag support for</msg><path><editType>edit</editType><file>tekton/v0/triggers/triggers/pingcap/tiproxy/git-create-tag.yaml</file></path><path><editType>edit</editType><file>tekton/v1/triggers/triggers/_/git-create-tag-build-ng.yaml</file></path><path><editType>edit</editType><file>tekton/v1/triggers/triggers/_/git-push-branch-build-ng.yaml</file></path><path><editType>edit</editType><file>tekton/v0/triggers/triggers/pingcap/tiproxy/git-push.yaml</file></path></item><kind>git</kind></changeSet><culprit><absoluteUrl>https://do.pingcap.net/jenkins/user/noreply</absoluteUrl><fullName>noreply</fullName></culprit></freeStyleBuild>