diff --git a/Jenkinsfile b/Jenkinsfile index c7979f6..1e66b0a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -73,14 +73,10 @@ pipeline { expression { return params.PUBLISH } } steps { - script { - withCredentials([string(credentialsId: 'ACR_PASSWORD', variable: 'TOKEN')]) { - bat """ - npm config set registry %NEXUS_REGISTRY% - npm publish --workspaces --registry %NEXUS_REGISTRY% --verbose - """ - } - } + bat """ + npm config set registry %NEXUS_REGISTRY% + npm publish --workspaces --registry %NEXUS_REGISTRY% --verbose + """ } } }