From dfb95dc9e0ebe6ff1be76d05f454c8801a283e2d Mon Sep 17 00:00:00 2001 From: XuqmGroup Date: Thu, 14 May 2026 19:26:36 +0800 Subject: [PATCH] fix: split npm publish commands into separate bat steps --- Jenkinsfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 1e66b0a..4e6dd67 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -73,10 +73,8 @@ pipeline { expression { return params.PUBLISH } } steps { - bat """ - npm config set registry %NEXUS_REGISTRY% - npm publish --workspaces --registry %NEXUS_REGISTRY% --verbose - """ + bat 'npm config set registry %NEXUS_REGISTRY%' + bat 'npm publish --workspaces --registry %NEXUS_REGISTRY% --verbose' } } }