<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>37500</buildableDurationMillis><buildableTimeMillis>37500</buildableTimeMillis><buildingDurationMillis>49216</buildingDurationMillis><executingTimeMillis>49216</executingTimeMillis><executorUtilization>1.0</executorUtilization><subTaskCount>0</subTaskCount><waitingDurationMillis>5752</waitingDurationMillis><waitingTimeMillis>5752</waitingTimeMillis></action><action _class='hudson.plugins.git.util.BuildData'><buildsByBranchName><originmain _class='hudson.plugins.git.util.Build'><buildNumber>1369</buildNumber><marked><SHA1>667fe50e4910ab69eb300ec6972077f13cba2172</SHA1><branch><SHA1>667fe50e4910ab69eb300ec6972077f13cba2172</SHA1><name>origin/main</name></branch></marked><revision><SHA1>667fe50e4910ab69eb300ec6972077f13cba2172</SHA1><branch><SHA1>667fe50e4910ab69eb300ec6972077f13cba2172</SHA1><name>origin/main</name></branch></revision></originmain></buildsByBranchName><lastBuiltRevision><SHA1>667fe50e4910ab69eb300ec6972077f13cba2172</SHA1><branch><SHA1>667fe50e4910ab69eb300ec6972077f13cba2172</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>#1369</displayName><duration>49216</duration><estimatedDuration>83303</estimatedDuration><fullDisplayName>seed #1369</fullDisplayName><id>1369</id><inProgress>false</inProgress><keepLog>false</keepLog><number>1369</number><queueId>3096358</queueId><result>SUCCESS</result><timestamp>1769436411698</timestamp><url>https://do.pingcap.net/jenkins/view/all/job/seed/1369/</url><builtOn>default-3bk07</builtOn><changeSet _class='hudson.plugins.git.GitChangeSetList'><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>pipelines/pingcap/ticdc/latest/pull_cdc_mysql_integration_light/pipeline.groovy</affectedPath><affectedPath>pipelines/pingcap/ticdc/latest/pull_cdc_pulsar_integration_light_next_gen/pipeline.groovy</affectedPath><affectedPath>pipelines/pingcap/ticdc/latest/pull_cdc_storage_integration_heavy/pipeline.groovy</affectedPath><affectedPath>pipelines/pingcap/ticdc/latest/pull_cdc_mysql_integration_heavy_next_gen/pipeline.groovy</affectedPath><affectedPath>pipelines/pingcap/ticdc/latest/pull_cdc_mysql_integration_light_next_gen/pipeline.groovy</affectedPath><affectedPath>pipelines/pingcap/ticdc/latest/pull_cdc_kafka_integration_heavy_next_gen/pipeline.groovy</affectedPath><affectedPath>libraries/tipipeline/vars/prow.groovy</affectedPath><affectedPath>pipelines/pingcap/ticdc/latest/pull_cdc_storage_integration_light/pipeline.groovy</affectedPath><affectedPath>pipelines/pingcap/ticdc/latest/pull_cdc_mysql_integration_heavy/pipeline.groovy</affectedPath><affectedPath>pipelines/pingcap/ticdc/latest/pull_cdc_storage_integration_heavy_next_gen/pipeline.groovy</affectedPath><affectedPath>pipelines/pingcap/ticdc/latest/pull_cdc_kafka_integration_light_next_gen/pipeline.groovy</affectedPath><affectedPath>pipelines/pingcap/ticdc/latest/pull_cdc_storage_integration_light_next_gen/pipeline.groovy</affectedPath><affectedPath>pipelines/pingcap/ticdc/latest/pull_cdc_pulsar_integration_light/pipeline.groovy</affectedPath><affectedPath>pipelines/pingcap/ticdc/latest/pull_cdc_kafka_integration_light/pipeline.groovy</affectedPath><affectedPath>libraries/tipipeline/vars/cdc.groovy</affectedPath><affectedPath>pipelines/pingcap/ticdc/latest/pull_cdc_kafka_integration_heavy/pipeline.groovy</affectedPath><commitId>667fe50e4910ab69eb300ec6972077f13cba2172</commitId><timestamp>1769436362000</timestamp><author><absoluteUrl>https://do.pingcap.net/jenkins/user/noreply</absoluteUrl><fullName>noreply</fullName></author><authorEmail>noreply@github.com</authorEmail><comment>refactor(pipelines/pingcap/ticdc): optimize ticdc pipelines for resource efficiency (#4109)

This PR optimizes the TiCDC integration test pipelines in
`pipelines/pingcap/ticdc/latest/` to improve resource efficiency and
consistency.

## The following changes were made

**Classic Pipelines:**

1. For `pull_cdc_kafka_integration_light` and
`pull_cdc_mysql_integration_light`, the pipelines were refactored to:
    - Use `agent none` at the pipeline level.
- Merge the `Checkout` and `prepare` stages into a single `Checkout &amp;
Prepare` stage with its own agent.
    This ensures agents are only allocated when required.

2. For `pull_cdc_kafka_integration_heavy`,
`pull_cdc_mysql_integration_heavy`, `pull_cdc_pulsar_integration_light`,
`pull_cdc_storage_integration_heavy`, and
`pull_cdc_storage_integration_light`, the redundant stage-level
`timeout` option was removed from the `Checkout &amp; Prepare` stage. This
centralizes timeout management at the global pipeline level.

**Next-gen Pipelines:**

All `next_gen` integration test pipelines were refactored to:
- Use `agent none` at the pipeline level.
- Merge the `Checkout` and `prepare` stages into a single `Checkout &amp;
Prepare` stage with its own agent.

This aligns the `next_gen` pipelines with the resource-saving standards
of the classic pipelines, ensuring that agents are only allocated when
required. This reduces overall resource consumption and improves
maintainability.

## Tests

- [x]
[pull_cdc_kafka_integration_light](https://prow.tidb.net/jenkins/job/pingcap/job/ticdc/job/pull_cdc_kafka_integration_light/188/)
- [x]
[pull_cdc_mysql_integration_light](https://prow.tidb.net/jenkins/job/pingcap/job/ticdc/job/pull_cdc_mysql_integration_light/227/)
- [ ]
[pull_cdc_pulsar_integration_light](https://prow.tidb.net/jenkins/job/pingcap/job/ticdc/job/pull_cdc_pulsar_integration_light/177)
- [x]
[pull_cdc_storage_integration_light](https://prow.tidb.net/jenkins/job/pingcap/job/ticdc/job/pull_cdc_storage_integration_light/178)
</comment><date>2026-01-26 14:06:02 +0000</date><id>667fe50e4910ab69eb300ec6972077f13cba2172</id><msg>refactor(pipelines/pingcap/ticdc): optimize ticdc pipelines for resource</msg><path><editType>edit</editType><file>pipelines/pingcap/ticdc/latest/pull_cdc_storage_integration_light/pipeline.groovy</file></path><path><editType>edit</editType><file>pipelines/pingcap/ticdc/latest/pull_cdc_storage_integration_heavy_next_gen/pipeline.groovy</file></path><path><editType>edit</editType><file>pipelines/pingcap/ticdc/latest/pull_cdc_pulsar_integration_light/pipeline.groovy</file></path><path><editType>edit</editType><file>pipelines/pingcap/ticdc/latest/pull_cdc_storage_integration_heavy/pipeline.groovy</file></path><path><editType>edit</editType><file>libraries/tipipeline/vars/prow.groovy</file></path><path><editType>edit</editType><file>pipelines/pingcap/ticdc/latest/pull_cdc_kafka_integration_light/pipeline.groovy</file></path><path><editType>edit</editType><file>libraries/tipipeline/vars/cdc.groovy</file></path><path><editType>edit</editType><file>pipelines/pingcap/ticdc/latest/pull_cdc_mysql_integration_light_next_gen/pipeline.groovy</file></path><path><editType>edit</editType><file>pipelines/pingcap/ticdc/latest/pull_cdc_kafka_integration_heavy_next_gen/pipeline.groovy</file></path><path><editType>edit</editType><file>pipelines/pingcap/ticdc/latest/pull_cdc_mysql_integration_heavy_next_gen/pipeline.groovy</file></path><path><editType>edit</editType><file>pipelines/pingcap/ticdc/latest/pull_cdc_kafka_integration_light_next_gen/pipeline.groovy</file></path><path><editType>edit</editType><file>pipelines/pingcap/ticdc/latest/pull_cdc_storage_integration_light_next_gen/pipeline.groovy</file></path><path><editType>edit</editType><file>pipelines/pingcap/ticdc/latest/pull_cdc_mysql_integration_heavy/pipeline.groovy</file></path><path><editType>edit</editType><file>pipelines/pingcap/ticdc/latest/pull_cdc_mysql_integration_light/pipeline.groovy</file></path><path><editType>edit</editType><file>pipelines/pingcap/ticdc/latest/pull_cdc_kafka_integration_heavy/pipeline.groovy</file></path><path><editType>edit</editType><file>pipelines/pingcap/ticdc/latest/pull_cdc_pulsar_integration_light_next_gen/pipeline.groovy</file></path></item><kind>git</kind></changeSet><culprit><absoluteUrl>https://do.pingcap.net/jenkins/user/noreply</absoluteUrl><fullName>noreply</fullName></culprit></freeStyleBuild>