[validation] docker: Keep going after build fail 58/1158/1
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Wed, 10 Jul 2019 13:37:09 +0000 (15:37 +0200)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Wed, 10 Jul 2019 13:37:09 +0000 (15:37 +0200)
When building all validation docker images, if one of the image builds
fails, the next image builds are currently skipped.

Keep going through all the build steps, while still exiting with a non
zero return code in case one of the steps fails.

Change-Id: Ib983ec311caaa71c9429280aa9295568380e9387
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
jjb/validation/validation-docker.yaml

index ae3d0d4..7a7b4e3 100644 (file)
           settings-file: '{mvn-settings}'
       - shell: |
           #!/bin/bash -ex
-          make -C docker push-all
+          make -k -C docker push-all
 
 - job-template:
     name: 'validation-docker-manifest-{stream}'
           settings-file: '{mvn-settings}'
       - shell: |
           #!/bin/bash -ex
-          for sd in docker/*/.; do make -C $sd .push_manifest; done
+          for sd in docker/*/.; do make -k -C $sd .push_manifest; done
 
 # parameter macro
 - parameter: