Это мой код конвейера
node {
stage('test') {
def server = Artifactory.server 'sample'
def rtDocker = Artifactory.docker server: server
def tag = "172.xx.xx.xx:8081/artifactory/tes1214"
def buildInfo = rtDocker.push tag, 'name'
server.publishBuildInfo buildInfo
}
}
И это ошибка, которую я получил:
Could not push image: unknown: Not Found
at com.github.dockerjava.core.command.PushImageResultCallback.awaitSuccess(PushImageResultCallback.java:49)
at org.jfrog.hudson.pipeline.common.docker.utils.DockerUtils.pushImage(DockerUtils.java:60)
at org.jfrog.hudson.pipeline.common.docker.utils.DockerAgentUtils$3.call(DockerAgentUtils.java:186)
at org.jfrog.hudson.pipeline.common.docker.utils.DockerAgentUtils$3.call(DockerAgentUtils.java:178)
at hudson.remoting.LocalChannel.call(LocalChannel.java:45)
at org.jfrog.hudson.pipeline.common.docker.utils.DockerAgentUtils.pushImage(DockerAgentUtils.java:178)
at org.jfrog.hudson.pipeline.scripted.steps.DockerPushStep$Execution.run(DockerPushStep.java:112)
at org.jfrog.hudson.pipeline.scripted.steps.DockerPushStep$Execution.run(DockerPushStep.java:78)
at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1$1.call(AbstractSynchronousNonBlockingStepExecution.java:47)
at hudson.security.ACL.impersonate(ACL.java:290)
at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1.run(AbstractSynchronousNonBlockingStepExecution.java:44)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Finished: FAILURE
Не могли бы вы помочь мне понять, где я ошибаюсь?Заранее спасибо