Hi,
I used to successfully curl binaries.sonarsource.com for sonar-scanner-cli versions in a automated proccess and this is no longer working.
Nothing changed on my end, this used to run every Saturday for months.
Last known working date is 19.02.2022
First known broken run 23.02.2022
It looks like this:
- curl -s https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/
- grep linux.zip
- sort -nr
- awk ‘NR==1{ print $3 }’
- sed ‘s/^.-cli-([0-9.]).*/\1/’
- tr -d ‘\n’
this used to give me the latest version of the linux.zip but now it doesn’t
Curl now returns:
<?xml version="1.0" encoding="UTF-8"?>
<Error><Code>NoSuchKey</Code><Message>The specified key does not exist.</Message><Key>Distribution/sonar-scanner-cli/</Key><RequestId>1RDDXSQ639ECD065</RequestId><HostId>YHl07ZhFo1sM17jKSxIeJDa3aW7cj4Jt3jqH++J1doVRUlJasCtU+wy90S5k3KdSWDZVLOZpZoA=</HostId></Error>
Any Ideas?