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 <Alexandru.Avadanii@enea.com>
Change-Id: I7ae64f37b27079994c150b7d98af683d89b5c173
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: