<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>24302</buildableDurationMillis><buildableTimeMillis>24302</buildableTimeMillis><buildingDurationMillis>61942</buildingDurationMillis><executingTimeMillis>61942</executingTimeMillis><executorUtilization>1.0</executorUtilization><subTaskCount>0</subTaskCount><waitingDurationMillis>5145</waitingDurationMillis><waitingTimeMillis>5145</waitingTimeMillis></action><action _class='hudson.plugins.git.util.BuildData'><buildsByBranchName><originmain _class='hudson.plugins.git.util.Build'><buildNumber>953</buildNumber><marked><SHA1>05a780c05e27095e22a0ba6dda5126231c7f42f8</SHA1><branch><SHA1>05a780c05e27095e22a0ba6dda5126231c7f42f8</SHA1><name>origin/main</name></branch></marked><revision><SHA1>05a780c05e27095e22a0ba6dda5126231c7f42f8</SHA1><branch><SHA1>05a780c05e27095e22a0ba6dda5126231c7f42f8</SHA1><name>origin/main</name></branch></revision></originmain></buildsByBranchName><lastBuiltRevision><SHA1>05a780c05e27095e22a0ba6dda5126231c7f42f8</SHA1><branch><SHA1>05a780c05e27095e22a0ba6dda5126231c7f42f8</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>#953</displayName><duration>61942</duration><estimatedDuration>86474</estimatedDuration><fullDisplayName>seed #953</fullDisplayName><id>953</id><inProgress>false</inProgress><keepLog>false</keepLog><number>953</number><queueId>1562890</queueId><result>SUCCESS</result><timestamp>1754570752276</timestamp><url>https://do.pingcap.net/jenkins/view/all/job/seed/953/</url><builtOn>default-kzfz1</builtOn><changeSet _class='hudson.plugins.git.GitChangeSetList'><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>pipelines/pingcap/tidb/latest/pod-ghpr_build.yaml</affectedPath><affectedPath>pipelines/pingcap/tidb/latest/pull_build_next_gen/pipeline.groovy</affectedPath><affectedPath>pipelines/pingcap/tidb/latest/ghpr_build/pod.yaml</affectedPath><affectedPath>pipelines/pingcap/tidb/latest/ghpr_build/pipeline.groovy</affectedPath><affectedPath>jobs/pingcap/tidb/latest/ghpr_build.groovy</affectedPath><affectedPath>pipelines/pingcap/tidb/latest/ghpr_build.groovy</affectedPath><commitId>05a780c05e27095e22a0ba6dda5126231c7f42f8</commitId><timestamp>1754570718000</timestamp><author><absoluteUrl>https://do.pingcap.net/jenkins/user/noreply</absoluteUrl><fullName>noreply</fullName></author><authorEmail>noreply@github.com</authorEmail><comment>feat(pingcap/tidb): add go version checking in plugin testing stage (#3683)

This pull request refactors the Jenkins pipeline job configuration for
TiDB's pull request builds, improving maintainability and consistency.
The main changes are the introduction of variables for reuse in job and
script paths, renaming and restructuring of pipeline files, and the
addition of a Go version consistency check for plugins. Some redundant
or outdated steps have also been removed.
**Feature addition:**

* Added a step to check that the Go version in `tidb` matches those in
the `enterprise-plugin` modules (`audit` and `whitelist`), failing the
build if there is a mismatch. This was added to both the main and
next-gen pipelines.
[[1]](diffhunk://#diff-4343420c555a73fe280ca1996666e601c6869ed96f9d3a4d6d6e3c496fbad863R91-R107)
[[2]](diffhunk://#diff-5d07f8a0316f7735c0722f8e9c4a63832c0fdef8f6ce42ee56dac322b85304c1R92-R108)

**Refactoring and maintainability improvements:**

* Introduced variables (`fullRepo`, `branchAlias`, `jobName`) in
`ghpr_build.groovy` to standardize job naming and script paths, and
updated references to use these variables.
[[1]](diffhunk://#diff-8b91fa6ef5b8778a0dd3af58b4d2fd64da9db9cd5f1de173766cc5c9b0adfb85L2-R6)
[[2]](diffhunk://#diff-8b91fa6ef5b8778a0dd3af58b4d2fd64da9db9cd5f1de173766cc5c9b0adfb85L15-R24)
* Renamed and reorganized the pipeline script from
`pipelines/pingcap/tidb/latest/ghpr_build.groovy` to
`pipelines/pingcap/tidb/latest/ghpr_build/pipeline.groovy`, and updated
references to the new path.

**Pipeline logic changes:**

* Updated the path for the pod template YAML file to use variables,
ensuring consistency with the new directory structure.
* Changed the working directory in the "Build tidb-server enterprise
edition" stage to use `REFS.repo` for consistency.


**Cleanup:**

* Removed artifact upload and result reporting steps from the
post-actions of the pipeline, possibly to be handled elsewhere or
because they are obsolete.
[[1]](diffhunk://#diff-4343420c555a73fe280ca1996666e601c6869ed96f9d3a4d6d6e3c496fbad863L57-L88)
[[2]](diffhunk://#diff-4343420c555a73fe280ca1996666e601c6869ed96f9d3a4d6d6e3c496fbad863L137-L145)

---------

Signed-off-by: wuhuizuo &lt;wuhuizuo@126.com&gt;
</comment><date>2025-08-07 12:45:18 +0000</date><id>05a780c05e27095e22a0ba6dda5126231c7f42f8</id><msg>feat(pingcap/tidb): add go version checking in plugin testing stage</msg><path><editType>delete</editType><file>pipelines/pingcap/tidb/latest/pod-ghpr_build.yaml</file></path><path><editType>add</editType><file>pipelines/pingcap/tidb/latest/ghpr_build/pipeline.groovy</file></path><path><editType>delete</editType><file>pipelines/pingcap/tidb/latest/ghpr_build.groovy</file></path><path><editType>edit</editType><file>pipelines/pingcap/tidb/latest/pull_build_next_gen/pipeline.groovy</file></path><path><editType>edit</editType><file>jobs/pingcap/tidb/latest/ghpr_build.groovy</file></path><path><editType>add</editType><file>pipelines/pingcap/tidb/latest/ghpr_build/pod.yaml</file></path></item><kind>git</kind></changeSet><culprit><absoluteUrl>https://do.pingcap.net/jenkins/user/noreply</absoluteUrl><fullName>noreply</fullName></culprit></freeStyleBuild>