diff --git a/Jenkinsfile b/Jenkinsfile index ef78681..7503402 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -16,13 +16,7 @@ pipeline { steps { script { echo '开始执行maven阶段' - try { - timeout(time: 30, unit: 'SECONDS') { - sh 'echo 122' - } - } catch (err) { - echo "命令执行超时,错误: $err" - } + pwd() echo 'maven阶段结束' } }