-
类型: 错误
-
状态: Resolved
A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">解决 -
解决方法: 不是Bug
-
影响版本/ s: 3.2.1之上
-
修复版本/ s: 3.2.2
-
组件/ s: 没有一个
-
标签:没有一个
-
环境:
Artifactory - 6.8.3
Artifactory Jenkins插件- 3.2.1
有一个问题,当运行以下管道时,在构建日志中有一个缺失的第一个斜杠从存储库路径:
节点{字符串模块=“rlb-stack-Source”def artServer = Artifactory.server“artifactory”def buildInfo = Artifactory.newBuildInfo()“部署”) {artServer。上传([规格:""" {“文件”: [{“模式”:" ${模块}- * . tgz ",“目标”:“rlb -通用的-dev-local / wago / rlb-stack / ${模块}/”}]} """, buildInfo: buildInfo]) artServer.publishBuildInfo(buildInfo) println(artServer.url) println(buildInfo.artifacts)}}
在生成的日志文件中,管道中最后一个“println”的路径将被损坏,尽管包将被部署到Artifactory,因为它应该。
例如:
rlb-generic-dev-localwago / rlb-stack rlb-stack-Source / rlb -堆栈源- 43. - tgz”
而不是
rlb-generic-dev-local/wago / rlb-stack rlb-stack-Source / rlb - stack - 43. tgz来源