<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>33253</buildableDurationMillis><buildableTimeMillis>33253</buildableTimeMillis><buildingDurationMillis>56700</buildingDurationMillis><executingTimeMillis>56700</executingTimeMillis><executorUtilization>1.0</executorUtilization><subTaskCount>0</subTaskCount><waitingDurationMillis>5531</waitingDurationMillis><waitingTimeMillis>5531</waitingTimeMillis></action><action _class='hudson.plugins.git.util.BuildData'><buildsByBranchName><originmain _class='hudson.plugins.git.util.Build'><buildNumber>1115</buildNumber><marked><SHA1>2996bb9c55ff1a66c8eed2e0fc8c50395c3765d0</SHA1><branch><SHA1>2996bb9c55ff1a66c8eed2e0fc8c50395c3765d0</SHA1><name>origin/main</name></branch></marked><revision><SHA1>2996bb9c55ff1a66c8eed2e0fc8c50395c3765d0</SHA1><branch><SHA1>2996bb9c55ff1a66c8eed2e0fc8c50395c3765d0</SHA1><name>origin/main</name></branch></revision></originmain></buildsByBranchName><lastBuiltRevision><SHA1>2996bb9c55ff1a66c8eed2e0fc8c50395c3765d0</SHA1><branch><SHA1>2996bb9c55ff1a66c8eed2e0fc8c50395c3765d0</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>#1115</displayName><duration>56700</duration><estimatedDuration>80415</estimatedDuration><fullDisplayName>seed #1115</fullDisplayName><id>1115</id><inProgress>false</inProgress><keepLog>false</keepLog><number>1115</number><queueId>2292502</queueId><result>SUCCESS</result><timestamp>1761720590557</timestamp><url>https://do.pingcap.net/jenkins/view/all/job/seed/1115/</url><builtOn>default-2r68d</builtOn><changeSet _class='hudson.plugins.git.GitChangeSetList'><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>pipelines/pingcap/tidb/latest/pull_integration_realcluster_test_next_gen/pipeline.groovy</affectedPath><affectedPath>pipelines/pingcap/ticdc/latest/pull_cdc_pulsar_integration_light_next_gen/pipeline.groovy</affectedPath><affectedPath>pipelines/pingcap/tidb/latest/periodics_tidb_next_gen_smoke_test.groovy</affectedPath><affectedPath>pipelines/pingcap/ticdc/latest/pull_cdc_mysql_integration_heavy_next_gen/pipeline.groovy</affectedPath><affectedPath>pipelines/pingcap-qe/tidb-test/latest/pull_integration_jdbc_test_next_gen/pipeline.groovy</affectedPath><affectedPath>pipelines/pingcap/ticdc/latest/pull_cdc_mysql_integration_light_next_gen/pipeline.groovy</affectedPath><affectedPath>pipelines/tikv/pd/latest/pull_integration_realcluster_test_next_gen/pipeline.groovy</affectedPath><affectedPath>pipelines/pingcap/ticdc/latest/pull_cdc_kafka_integration_heavy_next_gen/pipeline.groovy</affectedPath><affectedPath>pipelines/tidbcloud/cloud-storage-engine/dedicated/pull_integration_realcluster_test_next_gen/pipeline.groovy</affectedPath><affectedPath>pipelines/pingcap/tidb/latest/pull_integration_e2e_test_next_gen/pipeline.groovy</affectedPath><affectedPath>pipelines/pingcap/tidb/latest/pull_integration_ddl_test_next_gen/pipeline.groovy</affectedPath><affectedPath>pipelines/pingcap/tidb/latest/pull_br_integration_test_next_gen/pipeline.groovy</affectedPath><affectedPath>pipelines/pingcap/ticdc/latest/pull_cdc_storage_integration_heavy_next_gen/pipeline.groovy</affectedPath><affectedPath>pipelines/pingcap/tidb/latest/pull_mysql_test_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_kafka_integration_light_next_gen/pipeline.groovy</affectedPath><affectedPath>pipelines/pingcap-qe/tidb-test/latest/pull_mysql_test_next_gen/pipeline.groovy</affectedPath><commitId>2996bb9c55ff1a66c8eed2e0fc8c50395c3765d0</commitId><timestamp>1761720547000</timestamp><author><absoluteUrl>https://do.pingcap.net/jenkins/user/noreply</absoluteUrl><fullName>noreply</fullName></author><authorEmail>noreply@github.com</authorEmail><comment>fix(pipelines): fix and use OCI_TAG_* for next-gen pipeline artifacts (#3851)

This pull request updates several Jenkins pipeline scripts to improve
how OCI artifact tags are determined and used for various TiDB and TiCDC
integration tests. The main change is to switch from using hardcoded
branch-based tags to dynamically computed OCI tags based on the base
reference of the pull request, specifically targeting "next-gen"
releases. This enhances flexibility and ensures the correct artifacts
are fetched for both standard and "next-gen" release branches.

Key changes include:

**Dynamic OCI Tag Calculation:**
- Replaced hardcoded `TARGET_BRANCH_*` variables with `OCI_TAG_*`
variables that select tags based on whether the base ref matches
`release-nextgen-*`. If it does, the base ref itself is used; otherwise,
a default "next-gen" tag is applied (e.g., `master-next-gen`,
`dedicated-next-gen`). This logic is applied across all affected
pipeline scripts.
[[1]](diffhunk://#diff-eea030b5a2abb8b2e5e3a1be2362ce7712fc41dd2b252430b51432f9d9663366L12-R14)
[[2]](diffhunk://#diff-7c278a7e52ae6c08b00ca70ee8f001a39c9c3cdd1a3c6570aebe98fe4e1a08b9L12-R14)
[[3]](diffhunk://#diff-0d57a2a2ca36ee110a1d7deea669186d95ac684d9eb5576b9685e1856f88dbe1L14-R17)
[[4]](diffhunk://#diff-e7bf7a9625ab848ccff480a36c8f4b45957b5c082874b2d5adafbd7876054f51L14-R17)
[[5]](diffhunk://#diff-8865fe8918a1c7c538095eeca44934ff85415cb3cc5c29102fe169eda34039deL13-R16)
[[6]](diffhunk://#diff-1a998bce2e699cdc9c5f16468d783aae485d1c3f1e19f4aaaee876dab06246f1L13-R16)
[[7]](diffhunk://#diff-f3831bd92a6e08ffb23d96f223fb4f15c935109a50ddc8a95902354966468b7bL13-R16)
[[8]](diffhunk://#diff-4c7fa0a2f6e195cf0c7df02e922510771e55fb4091730e0b08b0b78d210a394fL13-R16)
[[9]](diffhunk://#diff-7fac7c78890fea63acbad3b5a333f10e6b8f52ce21cfdbc030f1e746b333576aL13-R16)

**Artifact Download Script Invocation Updates:**
- Updated all invocations of `download_pingcap_oci_artifact.sh` to use
the new `OCI_TAG_*` variables instead of the old `TARGET_BRANCH_*`
variables, ensuring the correct artifacts are downloaded for the current
test context. This affects both heavy and light integration test
pipelines for JDBC, MySQL, Kafka, Pulsar, and Storage.
[[1]](diffhunk://#diff-eea030b5a2abb8b2e5e3a1be2362ce7712fc41dd2b252430b51432f9d9663366L66-R67)
[[2]](diffhunk://#diff-7c278a7e52ae6c08b00ca70ee8f001a39c9c3cdd1a3c6570aebe98fe4e1a08b9L66-R67)
[[3]](diffhunk://#diff-0d57a2a2ca36ee110a1d7deea669186d95ac684d9eb5576b9685e1856f88dbe1L91-R96)
[[4]](diffhunk://#diff-e7bf7a9625ab848ccff480a36c8f4b45957b5c082874b2d5adafbd7876054f51L91-R96)
[[5]](diffhunk://#diff-8865fe8918a1c7c538095eeca44934ff85415cb3cc5c29102fe169eda34039deL88-R93)
[[6]](diffhunk://#diff-1a998bce2e699cdc9c5f16468d783aae485d1c3f1e19f4aaaee876dab06246f1L88-R93)
[[7]](diffhunk://#diff-f3831bd92a6e08ffb23d96f223fb4f15c935109a50ddc8a95902354966468b7bL89-R94)
[[8]](diffhunk://#diff-4c7fa0a2f6e195cf0c7df02e922510771e55fb4091730e0b08b0b78d210a394fL90-R95)
[[9]](diffhunk://#diff-7fac7c78890fea63acbad3b5a333f10e6b8f52ce21cfdbc030f1e746b333576aL90-R95)

---------

Co-authored-by: Copilot &lt;175728472+Copilot@users.noreply.github.com&gt;
</comment><date>2025-10-29 06:49:07 +0000</date><id>2996bb9c55ff1a66c8eed2e0fc8c50395c3765d0</id><msg>fix(pipelines): fix and use OCI_TAG_* for next-gen pipeline artifacts</msg><path><editType>edit</editType><file>pipelines/pingcap/tidb/latest/periodics_tidb_next_gen_smoke_test.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_storage_integration_light_next_gen/pipeline.groovy</file></path><path><editType>edit</editType><file>pipelines/pingcap/tidb/latest/pull_integration_e2e_test_next_gen/pipeline.groovy</file></path><path><editType>edit</editType><file>pipelines/tikv/pd/latest/pull_integration_realcluster_test_next_gen/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/tidbcloud/cloud-storage-engine/dedicated/pull_integration_realcluster_test_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_kafka_integration_light_next_gen/pipeline.groovy</file></path><path><editType>edit</editType><file>pipelines/pingcap-qe/tidb-test/latest/pull_mysql_test_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/tidb/latest/pull_mysql_test_next_gen/pipeline.groovy</file></path><path><editType>edit</editType><file>pipelines/pingcap/tidb/latest/pull_integration_realcluster_test_next_gen/pipeline.groovy</file></path><path><editType>edit</editType><file>pipelines/pingcap/tidb/latest/pull_integration_ddl_test_next_gen/pipeline.groovy</file></path><path><editType>edit</editType><file>pipelines/pingcap-qe/tidb-test/latest/pull_integration_jdbc_test_next_gen/pipeline.groovy</file></path><path><editType>edit</editType><file>pipelines/pingcap/tidb/latest/pull_br_integration_test_next_gen/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>