Skip to content

Commit 32eccf2

Browse files
DEBUG
1 parent 840bd83 commit 32eccf2

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.cirrus/clean-orchestrator-cache.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
1-
#!/bin/bash
1+
#!/bin/bash -x
22
set -euo pipefail
33

44
cd "$ORCHESTRATOR_HOME" || exit 1
55

6+
sort --version
7+
/usr/bin/sort --version
8+
/usr/bin/find . -name 'sonar-application-*'
9+
610
# Find all sonar-application-* JAR files, sort them by version, and list them
7-
files=$(/usr/bin/find . -name 'sonar-application-*' | sort --version-sort --field-separator=- --key=3 --reverse)
11+
files=$(/usr/bin/find . -name 'sonar-application-*' | /usr/bin/sort --field-separator=- --key=3V --reverse)
812

913
echo "File that will not be deleted:"
1014
echo "$files" | head -n 1

0 commit comments

Comments
 (0)