Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-30706

When docker-build step fails, Jenkins job should not be a success

XMLWordPrintable

      When an action from a docker-build-step results in an error, the job with that action should fail (or have the option to fail).

      Currently an action (like a push) could fail and the job would show as a success - ala:

      {"current":431042965,"total":431042965}

      ,"progress":"[==================================================\u003e] 431 MB/431 MB","id":"62a8b10a30e9"}{"status":"Image push failed","progressDetail":{},"id":"62a8b10a30e9"}{"errorDetail":

      {"message":"Error pushing to registry: Put https://docker.dev.ccctechcenter.org/v2/dev-ssp-uportal-ear/blobs/uploads/bfc6fe92-783c-413a-80e4-5680514a8f5d?_state=NBEUR339AVxNidFC0OAKWAmuVpfefZSVb3YfuB3o6Tp7Ik5hbWUiOiJkZXYtc3NwLXVwb3J0YWwtZWFyIiwiVVVJRCI6ImJmYzZmZTkyLTc4M2MtNDEzYS04MGU0LTU2ODA1MTRhOGY1ZCIsIk9mZnNldCI6MCwiU3RhcnRlZEF0IjoiMjAxNS0wOS0yOVQxNzo0OToxNi45OTk2MTU2NTZaIn0%3D\u0026digest=sha256%3A419ddfd86bd63d976e205b3f0c6c53e6761aa87b9f566d2d3503663a28db8190: EOF"}

      ,"error":"Error pushing to registry: Put https://docker.dev.ccctechcenter.org/v2/dev-ssp-uportal-ear/blobs/uploads/bfc6fe92-783c-413a-80e4-5680514a8f5d?_state=NBEUR339AVxNidFC0OAKWAmuVpfefZSVb3YfuB3o6Tp7Ik5hbWUiOiJkZXYtc3NwLXVwb3J0YWwtZWFyIiwiVVVJRCI6ImJmYzZmZTkyLTc4M2MtNDEzYS04MGU0LTU2ODA1MTRhOGY1ZCIsIk9mZnNldCI6MCwiU3RhcnRlZEF0IjoiMjAxNS0wOS0yOVQxNzo0OToxNi45OTk2MTU2NTZaIn0%3D\u0026digest=sha256%3A419ddfd86bd63d976e205b3f0c6c53e6761aa87b9f566d2d3503663a28db8190: EOF"}
      [Docker] INFO: Done pushing image docker.dev.ccctechcenter.org/dev-ssp-uportal-ear
      Finished: SUCCESS

            vjuranek vjuranek
            chasegawa Charles Hasegawa
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: