jenkins attempts to run this (via universal_build, inside the frontend-build-container):
yarn 'build:prod --env api-env=staging --output-path '\''dist'\'''
which of course fails, cuz the command and the args are bound together in single-quotes!
this error is thrown:
error Command "build:prod --env api-env=staging --output-path 'dist'" not found.
this can be fixed by encapsulating the entire command at build_deploy.sh (with its 2 variations for staging/production api-envs) into separate npm-scripts.
- depends on
-
OCMUI-1987 wrong disk-layout in containerized/stage builds
- Closed
- is caused by
-
OCMUI-1987 wrong disk-layout in containerized/stage builds
- Closed
- mentioned on