From 2c10f8228bc3443a8710b07c442a454aaeb568fb Mon Sep 17 00:00:00 2001 From: msb_134187 Date: Thu, 23 May 2024 09:00:34 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'Jenkinsfile'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Jenkinsfile | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) 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阶段结束' } }