From: Alexandru Avadanii Date: Thu, 30 May 2019 13:34:28 +0000 (+0300) Subject: [validation] docker: Fix manifest push wildcard X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F02%2F902%2F1;p=ci-management.git [validation] docker: Fix manifest push wildcard The `make -C docker/*/. something` is expanded to `make -C docker/firstsubdir/. docker/secondsubdir/. something`, which leads to `make` interpreting the second directory as a target name instead of running in that directory. Switch to an explicit sh for loop to avoid this. Signed-off-by: Alexandru Avadanii Change-Id: I7ae64f37b27079994c150b7d98af683d89b5c173 --- diff --git a/jjb/validation/validation-docker.yaml b/jjb/validation/validation-docker.yaml index 1a8aaa9..ae3d0d4 100644 --- a/jjb/validation/validation-docker.yaml +++ b/jjb/validation/validation-docker.yaml @@ -155,7 +155,7 @@ settings-file: '{mvn-settings}' - shell: | #!/bin/bash -ex - make -C docker/*/. .push_manifest + for sd in docker/*/.; do make -C $sd .push_manifest; done # parameter macro - parameter: