-
类型: 错误
-
状态: Resolved
A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">解决 -
解决方法: 完成
-
影响版本/ s: 2.16.0
-
修复版本/ s: 2.16.1
-
组件/ s: 没有一个
-
标签:没有一个
图像被有效地推送到人工程序,但得到“无法找到”的清单。.. json在Artifactory的如下路径:…"
看来我们要找的是
https://artifactory.sigfox.io/docker-snapshots/docker-snapshots/software-factory/oplog-tail/1.0.0-SNAPSHOT/manifest.json
但它应该是
https://artifactory.sigfox.io/docker-snapshots/software-factory/oplog-tail/1.0.0-SNAPSHOT/manifest.json
(repo路径复制)。
因此,使用NPE构建失败,并且不上载构建信息。
脚本用于下面的复制。
注意在tag和Docker.push中都有docker快照
管道{
代理没有
阶段{
stage('Build & Deploy snapshot'){
当
代理任何
{步骤
脚本{
defserver = Artifactory。服务器“artifactory-sigfox”
defrtdocker = Artifactory。Docker server: server
版本= sh (
脚本:` cat package。json: grep version | head -1 | awk -F: \'
/ / / / / / / / /[",/ / g \”,
returnStdout:真
) .trim ()
tag = "artifactory.sigfox.io/docker-snapshots/software-factory/oplog-tail:$version-SNAPSHOT"
回声标签
命令“docker build -t $tag”
defbuildinfo = rtDocker。Push标签,'docker-快照'
服务器。publishBuildInfo buildInfo
}
}
}
}
}
- 取决于
-
hap - 1061支持docker build-info的“无代理”配置
- Resolved
A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">解决
- Resolved
- 包含在
-
hap - 1068Docker push push映像,但构建失败,提示“无法找到manifest”。将Artifactory中的json文件放到下面的路径中
- Resolved
A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">解决
- Resolved