fabric8io/fabric8-pipeline-library

Build fails on single node cluster because it wants to tag an image while image pushing was skipped due to single node rule.

Opened this issue · 0 comments

debei commented

Build fails on single node cluster because it wants to tag an image while image pushing was skipped due to single node rule.

Sample Jenkins Output:

Running on a single node, skipping docker push as not needed— Print Message<1s
Running on a single node, skipping docker push as not needed
pom.xml— Read a maven project file.1s
docker tag infrastructure/fms-align-bom:1.0.2 192.168.103.187:80/infrastructure/fms-align-bom:1.0.2— Shell Script<1s
[fms-align-bom_master-NLLI376KMPYIKK25BIZRN4Y2UPH7PTU3TFER4YF6CYZLG7XBDRRQ] Running shell script

docker tag infrastructure/fms-align-bom:1.0.2 192.168.103.187:80/infrastructure/fms-align-bom:1.0.2
WARNING: Error loading config file:/home/jenkins/.docker/config.json - EOF
Error response from daemon: no such id: infrastructure/fms-align-bom:1.0.2
script returned exit code 1