pass the env file to the proper cmd: oc new-build

4 jobs for master in 10 seconds (queued for 3 seconds)
Status Name Job ID Coverage
  Build
failed build-pgapp #3573
debian

00:00:10

failed build-pgdata #3574
debian

00:00:10

failed build-wpdb #3575
debian

00:00:10

 
  Deploy
skipped deploy #3576
debian
 
Name Stage Failure
failed
build-wpdb Build

Using project "build-several-image-and-compose-499".
Welcome! See 'oc help' to get started.
$ oc project "$CI_PROJECT_NAME-$CI_PROJECT_ID" 2> /dev/null || oc new-project "$CI_PROJECT_NAME-$CI_PROJECT_ID"
Now using project "daiquiri-test-instance-498" on server "https://console.okd.aip.de:8443".
$ oc new-build --strategy=docker --binary --name "build-$APP" --to "image-$APP" --env-file=./docker/env
warning: Cannot find git. Ensure that it is installed and in your path. Git is required to work with git repositories.
error: Cannot stat "./docker/env": stat ./docker/env: no such file or directory
ERROR: Job failed: exit code 1
failed
build-pgdata Build

Using project "build-several-image-and-compose-499".
Welcome! See 'oc help' to get started.
$ oc project "$CI_PROJECT_NAME-$CI_PROJECT_ID" 2> /dev/null || oc new-project "$CI_PROJECT_NAME-$CI_PROJECT_ID"
Now using project "daiquiri-test-instance-498" on server "https://console.okd.aip.de:8443".
$ oc new-build --strategy=docker --binary --name "build-$APP" --to "image-$APP" --env-file=./docker/env
warning: Cannot find git. Ensure that it is installed and in your path. Git is required to work with git repositories.
error: Cannot stat "./docker/env": stat ./docker/env: no such file or directory
ERROR: Job failed: exit code 1
failed
build-pgapp Build

Using project "build-several-image-and-compose-499".
Welcome! See 'oc help' to get started.
$ oc project "$CI_PROJECT_NAME-$CI_PROJECT_ID" 2> /dev/null || oc new-project "$CI_PROJECT_NAME-$CI_PROJECT_ID"
Now using project "daiquiri-test-instance-498" on server "https://console.okd.aip.de:8443".
$ oc new-build --strategy=docker --binary --name "build-$APP" --to "image-$APP" --env-file=./docker/env
warning: Cannot find git. Ensure that it is installed and in your path. Git is required to work with git repositories.
error: Cannot stat "./docker/env": stat ./docker/env: no such file or directory
ERROR: Job failed: exit code 1