Skip to content

Commit 3937734

Browse files
committed
fix
1 parent abf2487 commit 3937734

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

cleanup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
cancelId=(`grep -E '"(ID)":"((\\"|[^"])*)"' ./app/output.log | cut -d',' -f1 | cut -d':' -f2 | tr -d '"'`)
3+
cancelId=(`grep -E '"(ID)":"((\\"|[^"])*)"' ./output.log | cut -d',' -f1 | cut -d':' -f2 | tr -d '"'`)
44

55
if [ -z "$cancelId" ]
66
then

entrypoint.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
#!/bin/bash
22

3-
output_file=./app/output.log
4-
5-
touch $output_file
3+
output_file=./output.log
64

75
eval "arr=(${ADDITIONAL_PARAMS})"
86
/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

Comments
 (0)