Failure to initialize SonarCloud addon

Hi all,

Recently every attempt to initialize SonarCloud addon on my Xenial + NodeJS build environment leads to the following error:

SonarCloud addon
addon hash: de356982c12b370c7bfe9c5317053863
Preparing SonarQube Scanner CLI
Archive:  /home/travis/.sonarscanner/sonar-scanner.zip
  End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of /home/travis/.sonarscanner/sonar-scanner.zip or
        /home/travis/.sonarscanner/sonar-scanner.zip.zip, and cannot find /home/travis/.sonarscanner/sonar-scanner.zip.ZIP, period.

Here is the link to the latest build log:

https://travis-ci.org/vkgeo/vkgeo-web

What should I do to fix this?

Thank you in advance for your help.

Bumping this one up, getting the same issue.

Build language: node_js
Build group: stable
Build dist: xenial
Build id: 144363026

Archive: /home/travis/.sonarscanner/sonar-scanner.zip
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.

https://travis-ci.org/vkgeo/vkgeo-web/jobs/637530949#L197

Yes, I already saw it. As far as I understand, sonar-scanner.zip file become damaged somehow?

Please restart the affected builds and report the results. Thanks.

Looks fine now :+1: Thanks!

2 Likes