From 679061250d668f6ab1f4b2919a7ab65ba0c77502 Mon Sep 17 00:00:00 2001 From: panjunjie <46790855@qq.com> Date: Sun, 10 Aug 2025 21:43:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20Jenkinsfile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 更改jenkins配置 --- Jenkinsfile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index ff519b8..e26a5dc 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -11,6 +11,13 @@ pipeline { checkout scm } } + + stage('检查Node.js版本') { + steps { + sh 'node -v' // 验证Node.js版本,应输出v22.18.0 + sh 'npm -v' // 验证npm版本,应输出对应版本(如v10.9.3) + } + } stage('安装依赖') { steps {