From 0309f2abdd17dc0a98ea7d62d31db647ca66586e Mon Sep 17 00:00:00 2001 From: cx-Margarita-LevitM Date: Wed, 27 Aug 2025 12:12:18 +0300 Subject: [PATCH 01/10] fix update CLI script --- .github/scripts/update_cli.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/scripts/update_cli.sh b/.github/scripts/update_cli.sh index 2b7ebc0..b3558a4 100755 --- a/.github/scripts/update_cli.sh +++ b/.github/scripts/update_cli.sh @@ -9,7 +9,7 @@ filename_darwin=ast-cli_${release}_darwin_x64.tar.gz echo "Updating windows binary" wget https://github.com/CheckmarxDev/ast-cli/releases/download/${release}/${filename_windows} unzip ${filename_windows} -d tmp -mv ./tmp/cx.exe ./checkmarx-ast-teamcity-plugin-agent/src/runner/bin/2.0.0/cx.exe +mv ./tmp/cx.exe ../../checkmarx-ast-teamcity-plugin-agent/src/runner/bin/2.0.0/cx.exe rm -r tmp rm ${filename_windows} @@ -18,7 +18,7 @@ echo "Updating linux binary" wget https://github.com/CheckmarxDev/ast-cli/releases/download/${release}/${filename_linux} mkdir ./tmp/ tar -xvzf ${filename_linux} -C ./tmp/ -mv ./tmp/cx ./checkmarx-ast-teamcity-plugin-agent/src/runner/bin/2.0.0/cx +mv ./tmp/cx ../../checkmarx-ast-teamcity-plugin-agent/src/runner/bin/2.0.0/cx rm -r tmp rm ${filename_linux} @@ -27,6 +27,6 @@ echo "Updating mac binary" wget https://github.com/CheckmarxDev/ast-cli/releases/download/${release}/${filename_darwin} mkdir ./tmp/ tar -xvzf ${filename_darwin} -C ./tmp/ -mv ./tmp/cx ./checkmarx-ast-teamcity-plugin-agent/src/runner/bin/2.0.0/cx-mac +mv ./tmp/cx ../../checkmarx-ast-teamcity-plugin-agent/src/runner/bin/2.0.0/cx-mac rm -r tmp rm ${filename_darwin} \ No newline at end of file From 16b6307668510a06f57b7242b7a82cc3707339e1 Mon Sep 17 00:00:00 2001 From: cx-Margarita-LevitM Date: Wed, 27 Aug 2025 12:22:14 +0300 Subject: [PATCH 02/10] fix update CLI script --- .github/scripts/update_cli.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/scripts/update_cli.sh b/.github/scripts/update_cli.sh index b3558a4..2797ffc 100755 --- a/.github/scripts/update_cli.sh +++ b/.github/scripts/update_cli.sh @@ -27,6 +27,6 @@ echo "Updating mac binary" wget https://github.com/CheckmarxDev/ast-cli/releases/download/${release}/${filename_darwin} mkdir ./tmp/ tar -xvzf ${filename_darwin} -C ./tmp/ -mv ./tmp/cx ../../checkmarx-ast-teamcity-plugin-agent/src/runner/bin/2.0.0/cx-mac +mv ./tmp/cx-mac ../../checkmarx-ast-teamcity-plugin-agent/src/runner/bin/2.0.0/cx-mac rm -r tmp rm ${filename_darwin} \ No newline at end of file From 6d98f0ebdc9b3e8fa4c71d87db9f75e8ac37bbf6 Mon Sep 17 00:00:00 2001 From: cx-Margarita-LevitM Date: Wed, 27 Aug 2025 13:50:07 +0300 Subject: [PATCH 03/10] fix update CLI script --- .github/scripts/update_cli.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/scripts/update_cli.sh b/.github/scripts/update_cli.sh index 2797ffc..ec50e56 100755 --- a/.github/scripts/update_cli.sh +++ b/.github/scripts/update_cli.sh @@ -27,6 +27,7 @@ echo "Updating mac binary" wget https://github.com/CheckmarxDev/ast-cli/releases/download/${release}/${filename_darwin} mkdir ./tmp/ tar -xvzf ${filename_darwin} -C ./tmp/ -mv ./tmp/cx-mac ../../checkmarx-ast-teamcity-plugin-agent/src/runner/bin/2.0.0/cx-mac +mv ./tmp/${filename_darwin}/cx ./tmp/${filename_darwin}/cx-mac +mv ./tmp/${filename_darwin}/cx-mac ../../checkmarx-ast-teamcity-plugin-agent/src/runner/bin/2.0.0/cx-mac rm -r tmp rm ${filename_darwin} \ No newline at end of file From 7cf9a362a1fce2a75d9a4dc6b33c460acc770580 Mon Sep 17 00:00:00 2001 From: cx-Margarita-LevitM Date: Wed, 27 Aug 2025 13:54:44 +0300 Subject: [PATCH 04/10] fix update CLI script --- .github/scripts/update_cli.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/scripts/update_cli.sh b/.github/scripts/update_cli.sh index ec50e56..b82a34d 100755 --- a/.github/scripts/update_cli.sh +++ b/.github/scripts/update_cli.sh @@ -4,6 +4,7 @@ release=$1 filename_windows=ast-cli_${release}_windows_x64.zip filename_linux=ast-cli_${release}_linux_x64.tar.gz filename_darwin=ast-cli_${release}_darwin_x64.tar.gz +filename_darwin_extracted=ast-cli_${release}_darwin_x64 #Windows echo "Updating windows binary" @@ -27,7 +28,7 @@ echo "Updating mac binary" wget https://github.com/CheckmarxDev/ast-cli/releases/download/${release}/${filename_darwin} mkdir ./tmp/ tar -xvzf ${filename_darwin} -C ./tmp/ -mv ./tmp/${filename_darwin}/cx ./tmp/${filename_darwin}/cx-mac -mv ./tmp/${filename_darwin}/cx-mac ../../checkmarx-ast-teamcity-plugin-agent/src/runner/bin/2.0.0/cx-mac +mv ./tmp/${filename_darwin_extracted}/cx ./tmp/${filename_darwin_extracted}/cx-mac +mv ./tmp/${filename_darwin_extracted}/cx-mac ../../checkmarx-ast-teamcity-plugin-agent/src/runner/bin/2.0.0/cx-mac rm -r tmp rm ${filename_darwin} \ No newline at end of file From 83c72dee2f8fa0e69427ce616a7c357af6a7ecef Mon Sep 17 00:00:00 2001 From: cx-Margarita-LevitM Date: Wed, 27 Aug 2025 13:57:57 +0300 Subject: [PATCH 05/10] fix update CLI script --- .github/scripts/update_cli.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/scripts/update_cli.sh b/.github/scripts/update_cli.sh index b82a34d..bb01c01 100755 --- a/.github/scripts/update_cli.sh +++ b/.github/scripts/update_cli.sh @@ -4,7 +4,6 @@ release=$1 filename_windows=ast-cli_${release}_windows_x64.zip filename_linux=ast-cli_${release}_linux_x64.tar.gz filename_darwin=ast-cli_${release}_darwin_x64.tar.gz -filename_darwin_extracted=ast-cli_${release}_darwin_x64 #Windows echo "Updating windows binary" @@ -28,7 +27,7 @@ echo "Updating mac binary" wget https://github.com/CheckmarxDev/ast-cli/releases/download/${release}/${filename_darwin} mkdir ./tmp/ tar -xvzf ${filename_darwin} -C ./tmp/ -mv ./tmp/${filename_darwin_extracted}/cx ./tmp/${filename_darwin_extracted}/cx-mac -mv ./tmp/${filename_darwin_extracted}/cx-mac ../../checkmarx-ast-teamcity-plugin-agent/src/runner/bin/2.0.0/cx-mac +mv ./tmp/cx ./tmp/cx-mac +mv ./tmp/cx-mac ../../checkmarx-ast-teamcity-plugin-agent/src/runner/bin/2.0.0/cx-mac rm -r tmp rm ${filename_darwin} \ No newline at end of file From cc2443cafb539aa9a59895860d73a22ef4f986c8 Mon Sep 17 00:00:00 2001 From: cx-Margarita-LevitM Date: Wed, 27 Aug 2025 14:04:09 +0300 Subject: [PATCH 06/10] fix update CLI script --- .github/scripts/update_cli.sh | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/scripts/update_cli.sh b/.github/scripts/update_cli.sh index bb01c01..14293a0 100755 --- a/.github/scripts/update_cli.sh +++ b/.github/scripts/update_cli.sh @@ -27,7 +27,17 @@ echo "Updating mac binary" wget https://github.com/CheckmarxDev/ast-cli/releases/download/${release}/${filename_darwin} mkdir ./tmp/ tar -xvzf ${filename_darwin} -C ./tmp/ -mv ./tmp/cx ./tmp/cx-mac -mv ./tmp/cx-mac ../../checkmarx-ast-teamcity-plugin-agent/src/runner/bin/2.0.0/cx-mac +if mv ./tmp/cx ./tmp/cx-mac; then + echo "Succeed to rename file" +else + echo "Failed to rename file" + exit 1 +fi +if mv ./tmp/cx-mac ../../checkmarx-ast-teamcity-plugin-agent/src/runner/bin/2.0.0/cx-mac; then + echo "Succeed to move" +else + echo "Failed to move" + exit 1 +fi rm -r tmp rm ${filename_darwin} \ No newline at end of file From 1ac6787ead6a80cb0f1b54b2be7a88d5def2db32 Mon Sep 17 00:00:00 2001 From: cx-Margarita-LevitM Date: Wed, 27 Aug 2025 14:08:10 +0300 Subject: [PATCH 07/10] fix update CLI script --- .github/scripts/update_cli.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/scripts/update_cli.sh b/.github/scripts/update_cli.sh index 14293a0..fae9f6a 100755 --- a/.github/scripts/update_cli.sh +++ b/.github/scripts/update_cli.sh @@ -29,6 +29,8 @@ mkdir ./tmp/ tar -xvzf ${filename_darwin} -C ./tmp/ if mv ./tmp/cx ./tmp/cx-mac; then echo "Succeed to rename file" + echo "Contents of ./tmp after rename:" + ls -R ./tmp else echo "Failed to rename file" exit 1 From b752a8aad65319956f898258ad8115efd9e97b7a Mon Sep 17 00:00:00 2001 From: cx-Margarita-LevitM Date: Wed, 27 Aug 2025 14:13:54 +0300 Subject: [PATCH 08/10] fix update CLI script --- .github/scripts/update_cli.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/scripts/update_cli.sh b/.github/scripts/update_cli.sh index fae9f6a..fc27581 100755 --- a/.github/scripts/update_cli.sh +++ b/.github/scripts/update_cli.sh @@ -9,7 +9,7 @@ filename_darwin=ast-cli_${release}_darwin_x64.tar.gz echo "Updating windows binary" wget https://github.com/CheckmarxDev/ast-cli/releases/download/${release}/${filename_windows} unzip ${filename_windows} -d tmp -mv ./tmp/cx.exe ../../checkmarx-ast-teamcity-plugin-agent/src/runner/bin/2.0.0/cx.exe +mv ./tmp/cx.exe ./checkmarx-ast-teamcity-plugin-agent/src/runner/bin/2.0.0/cx.exe rm -r tmp rm ${filename_windows} @@ -18,7 +18,7 @@ echo "Updating linux binary" wget https://github.com/CheckmarxDev/ast-cli/releases/download/${release}/${filename_linux} mkdir ./tmp/ tar -xvzf ${filename_linux} -C ./tmp/ -mv ./tmp/cx ../../checkmarx-ast-teamcity-plugin-agent/src/runner/bin/2.0.0/cx +mv ./tmp/cx ./checkmarx-ast-teamcity-plugin-agent/src/runner/bin/2.0.0/cx rm -r tmp rm ${filename_linux} @@ -35,7 +35,7 @@ else echo "Failed to rename file" exit 1 fi -if mv ./tmp/cx-mac ../../checkmarx-ast-teamcity-plugin-agent/src/runner/bin/2.0.0/cx-mac; then +if mv ./tmp/cx-mac ./checkmarx-ast-teamcity-plugin-agent/src/runner/bin/2.0.0/cx-mac; then echo "Succeed to move" else echo "Failed to move" From ee2c9129148cfe269b84a060c51013937a0e4ee3 Mon Sep 17 00:00:00 2001 From: github-actions Date: Wed, 27 Aug 2025 11:15:03 +0000 Subject: [PATCH 09/10] Track Checkmarx CLI binaries with Git LFS --- checkmarx-ast-teamcity-plugin-agent/src/runner/bin/2.0.0/cx | 4 ++-- .../src/runner/bin/2.0.0/cx-mac | 4 ++-- .../src/runner/bin/2.0.0/cx.exe | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/checkmarx-ast-teamcity-plugin-agent/src/runner/bin/2.0.0/cx b/checkmarx-ast-teamcity-plugin-agent/src/runner/bin/2.0.0/cx index 7b03830..50792ef 100755 --- a/checkmarx-ast-teamcity-plugin-agent/src/runner/bin/2.0.0/cx +++ b/checkmarx-ast-teamcity-plugin-agent/src/runner/bin/2.0.0/cx @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:52dc68e5429527b5bc27767f200c68b655dbdbff81d889b22ccd4031972fb13f -size 74506424 +oid sha256:d516e996f4971e7516dc91f0676c588b897a792ab85a532d6b6bf41a9bd084ae +size 76648632 diff --git a/checkmarx-ast-teamcity-plugin-agent/src/runner/bin/2.0.0/cx-mac b/checkmarx-ast-teamcity-plugin-agent/src/runner/bin/2.0.0/cx-mac index ce3ccf2..1d478e9 100755 --- a/checkmarx-ast-teamcity-plugin-agent/src/runner/bin/2.0.0/cx-mac +++ b/checkmarx-ast-teamcity-plugin-agent/src/runner/bin/2.0.0/cx-mac @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:6e33310ed820e4f54f9d61ba1194074ed4c09e25fbb8089cf219210770b9c55b -size 150010944 +oid sha256:954940965bb8769fd0440ce0b5a520cd5863ab3035c8953755ff071e8bc28f47 +size 154241504 diff --git a/checkmarx-ast-teamcity-plugin-agent/src/runner/bin/2.0.0/cx.exe b/checkmarx-ast-teamcity-plugin-agent/src/runner/bin/2.0.0/cx.exe index dbdafd1..7590ba6 100644 --- a/checkmarx-ast-teamcity-plugin-agent/src/runner/bin/2.0.0/cx.exe +++ b/checkmarx-ast-teamcity-plugin-agent/src/runner/bin/2.0.0/cx.exe @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:0d313342ea20826031264dc5096893dfeb8f766fcc378047afc8c9784d6524af -size 76461440 +oid sha256:8d56b322af737d1627b6ab557d060763be537bc140071e20019354ad59b7e22d +size 78636992 From d9fc13f607b9851e2fbeee4f428610dec275768a Mon Sep 17 00:00:00 2001 From: cx-margarita-levitm <45617576+cx-margarita-levitm@users.noreply.github.com> Date: Wed, 27 Aug 2025 11:15:03 +0000 Subject: [PATCH 10/10] Update checkmarx-ast-cli to 2.3.32 --- checkmarx-ast-cli.version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/checkmarx-ast-cli.version b/checkmarx-ast-cli.version index a4c8060..a17d933 100644 --- a/checkmarx-ast-cli.version +++ b/checkmarx-ast-cli.version @@ -1 +1 @@ -2.3.22 +2.3.32