rtNpmPublish函数的问题

时间:2019-04-03 01:53:46

标签: jenkins jenkins-pipeline artifactory

执行npm publish命令时,工件将被上传到仓库

/npm-prereleases-local/@test/test-package/-/@test/test-package-0.0.1.tgz

But when executing with rtNpmPublish the artifact is getting uploaded to
/npm-prereleases-local/@test/test-package/-/test-package-0.0.1.tgz

name in package.json

  name : "@test/test-package"<br>

Code from artifactory plugin:

rtNpmPublish(
          path : "pathToJsonFile in dist folder"
deployerId: "deployer-unique-id" <br>
)

有关此问题的任何想法。

人工版本6.6.5 Jenkins插件版本:3.2.1

0 个答案:

没有答案