We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent abf2487 commit 3937734Copy full SHA for 3937734
cleanup.sh
@@ -1,6 +1,6 @@
1
#!/bin/bash
2
3
-cancelId=(`grep -E '"(ID)":"((\\"|[^"])*)"' ./app/output.log | cut -d',' -f1 | cut -d':' -f2 | tr -d '"'`)
+cancelId=(`grep -E '"(ID)":"((\\"|[^"])*)"' ./output.log | cut -d',' -f1 | cut -d':' -f2 | tr -d '"'`)
4
5
if [ -z "$cancelId" ]
6
then
entrypoint.sh
@@ -1,8 +1,6 @@
-output_file=./app/output.log
-
-touch $output_file
+output_file=./output.log
7
eval "arr=(${ADDITIONAL_PARAMS})"
8
/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
0 commit comments