refactor(SourceFetcher): update directory handling to use steps.dir for workspace

Signed-off-by: 孙振宇 <>
This commit is contained in:
孙振宇 2025-02-04 11:02:16 +08:00
parent 8c827fe1ad
commit 67214e0120

View File

@ -18,7 +18,7 @@ class SourceFetcher {
steps.env.workspace = "workspace"
dir(steps.env.workspace) {
steps.dir(steps.env.workspace) {
steps.git branch: configurations.serviceGitBranch, credentialsId: 'git-bot-credentials', url: configurations.serviceGitRepo
}
}