<freeStyleBuild _class='hudson.model.FreeStyleBuild'><action _class='hudson.model.CauseAction'><cause _class='com.cloudbees.jenkins.GitHubPushCause'><shortDescription>Started by GitHub push by wuhuizuo</shortDescription></cause><cause _class='com.cloudbees.jenkins.GitHubPushCause'><shortDescription>Started by GitHub push by wuhuizuo</shortDescription></cause></action><action></action><action _class='jenkins.metrics.impl.TimeInQueueAction'><blockedDurationMillis>0</blockedDurationMillis><blockedTimeMillis>0</blockedTimeMillis><buildableDurationMillis>12220</buildableDurationMillis><buildableTimeMillis>12220</buildableTimeMillis><buildingDurationMillis>60878</buildingDurationMillis><executingTimeMillis>60878</executingTimeMillis><executorUtilization>1.0</executorUtilization><subTaskCount>0</subTaskCount><waitingDurationMillis>6917</waitingDurationMillis><waitingTimeMillis>6917</waitingTimeMillis></action><action _class='hudson.plugins.git.util.BuildData'><buildsByBranchName><originmain _class='hudson.plugins.git.util.Build'><buildNumber>1866</buildNumber><marked><SHA1>63134e7ad16c3e049f3c7eab16717cb490042b62</SHA1><branch><SHA1>63134e7ad16c3e049f3c7eab16717cb490042b62</SHA1><name>origin/main</name></branch></marked><revision><SHA1>63134e7ad16c3e049f3c7eab16717cb490042b62</SHA1><branch><SHA1>63134e7ad16c3e049f3c7eab16717cb490042b62</SHA1><name>origin/main</name></branch></revision></originmain></buildsByBranchName><lastBuiltRevision><SHA1>63134e7ad16c3e049f3c7eab16717cb490042b62</SHA1><branch><SHA1>63134e7ad16c3e049f3c7eab16717cb490042b62</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>#1866</displayName><duration>60878</duration><estimatedDuration>49604</estimatedDuration><fullDisplayName>seed #1866</fullDisplayName><id>1866</id><inProgress>false</inProgress><keepLog>false</keepLog><number>1866</number><queueId>3694593</queueId><result>SUCCESS</result><timestamp>1783311092389</timestamp><url>https://do.pingcap.net/jenkins/job/seed/1866/</url><builtOn>default-cgdxf</builtOn><changeSet _class='hudson.plugins.git.GitChangeSetList'><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>tools/check_artifact/Dockerfile</affectedPath><affectedPath>tools/check_artifact/Readme.md</affectedPath><affectedPath>tools/deprecated/plugins/report-flaky-cases.ts</affectedPath><affectedPath>tools/deprecated/gethash/Makefile</affectedPath><affectedPath>tools/deprecated/release-checker/checker/Makefile</affectedPath><affectedPath>tools/deprecated/gethash/gethash.py</affectedPath><affectedPath>tools/deprecated/misc_tools/get_hash.sh</affectedPath><affectedPath>tools/deprecated/plugins/report_job_result.sh</affectedPath><affectedPath>tools/check_artifact/check_artifact.sh</affectedPath><affectedPath>tools/deprecated/misc_tools/create_branch.sh</affectedPath><affectedPath>tools/deprecated/misc_tools/create_tag.py</affectedPath><commitId>63134e7ad16c3e049f3c7eab16717cb490042b62</commitId><timestamp>1783311069000</timestamp><author><absoluteUrl>https://do.pingcap.net/jenkins/user/noreply</absoluteUrl><fullName>noreply</fullName></author><authorEmail>noreply@github.com</authorEmail><comment>feat(tools): replace hardcoded internal URLs with env vars + remove dead deprecated code (#4808)

## Summary

Replace hardcoded internal-only endpoint URLs in `tools/` with
environment variable defaults, enabling jobs to execute from a public
cloud environment.

## Changes

### URL Cleanup
| Env Var | Default | Endpoints | Files |
|---|---|---|---|
| `OCI_REGISTRY` | `hub.pingcap.net` | E1: Internal Docker registry |
`check_artifact.sh`, `Dockerfile`, `gethash/Makefile`,
`release-checker/checker/Makefile` |
| `ARTIFACT_DOWNLOAD_BASE_URL` | `http://fileserver.pingcap.net` | E2:
File server | `gethash/gethash.py` |
| `TIUP_STAGING_MIRROR_URL` | `http://tiup.pingcap.net:8988` | E5:
Staging TIUP mirror | `Readme.md` |
| `ENTERPRISE_IMAGE_REGISTRY` | `gcr.io/pingcap-public/dbaas` | E9:
Enterprise images | `check_artifact.sh` |

### Deprecated Code Removal
- `tools/deprecated/misc_tools/`: removed (0 external refs confirmed)
- `tools/deprecated/plugins/`: removed (self-declared deprecated)

## Testing
- All Shell scripts pass `bash -n`
- All Python scripts pass `python3 -m py_compile`

## Risk
Low. All changes are additive env var fallthroughs with
backward-compatible defaults. Rollback = revert PR.

Fixes FLA-254
</comment><date>2026-07-06 12:11:09 +0800</date><id>63134e7ad16c3e049f3c7eab16717cb490042b62</id><msg>feat(tools): replace hardcoded internal URLs with env vars + remove dead</msg><path><editType>delete</editType><file>tools/deprecated/plugins/report-flaky-cases.ts</file></path><path><editType>delete</editType><file>tools/deprecated/misc_tools/get_hash.sh</file></path><path><editType>delete</editType><file>tools/deprecated/misc_tools/create_branch.sh</file></path><path><editType>delete</editType><file>tools/deprecated/misc_tools/create_tag.py</file></path><path><editType>delete</editType><file>tools/deprecated/plugins/report_job_result.sh</file></path><path><editType>edit</editType><file>tools/check_artifact/Readme.md</file></path><path><editType>edit</editType><file>tools/check_artifact/Dockerfile</file></path><path><editType>edit</editType><file>tools/deprecated/release-checker/checker/Makefile</file></path><path><editType>edit</editType><file>tools/deprecated/gethash/Makefile</file></path><path><editType>edit</editType><file>tools/deprecated/gethash/gethash.py</file></path><path><editType>edit</editType><file>tools/check_artifact/check_artifact.sh</file></path></item><kind>git</kind></changeSet><culprit><absoluteUrl>https://do.pingcap.net/jenkins/user/noreply</absoluteUrl><fullName>noreply</fullName></culprit></freeStyleBuild>