Skip to content

Commit

Permalink
create output file
Browse files Browse the repository at this point in the history
  • Loading branch information
amacedoo committed Sep 26, 2024
1 parent c01aac7 commit abf2487
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

output_file=./app/output.log

touch $output_file

eval "arr=(${ADDITIONAL_PARAMS})"
/app/bin/cx scan create --project-name "${PROJECT_NAME}" -s "." --branch "${BRANCH#refs/heads/}" --scan-info-format json --agent "Github Action" "${arr[@]}" | tee -i $output_file
exitCode=${PIPESTATUS[0]}
Expand Down

0 comments on commit abf2487

Please sign in to comment.