You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 15, 2024. It is now read-only.
I tried using buildOutput as input for deploy stage .
In the Build details, I can see: COMMAND_EXECUTION_ERROR: Error while executing command: bash ${CODEBUILD_SRC_DIR}/scripts/deploy.sh. Reason: exit status 57
I tried using
buildOutput
as input fordeploy
stage .In the Build details, I can see:
COMMAND_EXECUTION_ERROR: Error while executing command: bash ${CODEBUILD_SRC_DIR}/scripts/deploy.sh. Reason: exit status 57
In the code pipeline logs, it said
I have checked that the input folder to this stage has
folderpathins3/node_modules/.bin/react-scripts
CODEBUILD_SRC_DIR=/codebuild/output/src177948730/src
If the input is source artifact and I run npm install, it works okay.
it seems to be looking into
'/codebuild/output/src177948730/src/node_modules/.bin/react-scripts'
if the input is built artifact.
My deploy project in CDK has
'bash ${CODEBUILD_SRC_DIR}/scripts/deploy.sh'
and deploy.sh has commands like:
npm run test-ci
which looks like
"test-ci": "CI=true react-scripts test --env=jsdom --no-cache",
What needs to be changed to fix this issue?The text was updated successfully, but these errors were encountered: