diff --git a/Jenkinsfile b/Jenkinsfile index 8c54dd4..1ccacc4 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -40,7 +40,7 @@ pipeline { stage('Build timeline-frontend dist') { steps { script { - def workspace = pwd + def workspace = $PWD echo "当前工作空间路径: ${workspace}" // 确保路径正确