GithubHelp home page GithubHelp logo

SonarQube scan failing about argo-cd HOT 5 CLOSED

crenshaw-dev avatar crenshaw-dev commented on June 28, 2024
SonarQube scan failing

from argo-cd.

Comments (5)

mmorel-35 avatar mmorel-35 commented on June 28, 2024 1

Probably just need to update something.

This might need java with version 17. Have you considered using actions/setup-java ?

from argo-cd.

mmorel-35 avatar mmorel-35 commented on June 28, 2024 1

class file version 61.0 seems to be for java 17 if understand thing correctly.

See. https://javaalmanac.io/bytecode/versions/

from argo-cd.

rumstead avatar rumstead commented on June 28, 2024

Weird..

❯ cat META-INF/MANIFEST.MF
Manifest-Version: 1.0
Created-By: Apache Maven 3.6.0
Built-By: travis
Build-Jdk: 11.0.2
Main-Class: org.sonarsource.scanner.cli.Main
Build-Time: 2019-10-01T06:20:46+0000
Implementation-Build: b1884daf731fde33075b4fecce6ff85be40e13b2
Version: 4.2.0.1873

from argo-cd.

rumstead avatar rumstead commented on June 28, 2024

Yea it’s definitely the Java version but the JRE is shipped with the scanner. The scanner was built with Java 11 and the shipped JRE is 11.

from argo-cd.

rumstead avatar rumstead commented on June 28, 2024

That's the confusing part because the java version matches what is in the MANIFEST.MF.

jar -xvf ./sonar-scanner-cli-4.2.0.1873.jar META-INF/MANIFEST.MF
cat META-INF/MANIFEST.MF
Manifest-Version: 1.0
Created-By: Apache Maven 3.6.0
Built-By: travis
Build-Jdk: 11.0.2
Main-Class: org.sonarsource.scanner.cli.Main
Build-Time: 2019-10-01T06:20:46+0000
Implementation-Build: b1884daf731fde33075b4fecce6ff85be40e13b2
Version: 4.2.0.1873

https://github.com/argoproj/argo-cd/actions/runs/9377388416/job/25819027723

INFO: Scanner configuration file: /tmp/cache/scanner/sonar-scanner-4.2.0.1873-linux/conf/sonar-scanner.properties
INFO: Project root configuration file: /home/runner/work/argo-cd/argo-cd/sonar-project.properties
INFO: SonarQube Scanner 4.2.0.1873
INFO: Java 11.0.3 AdoptOpenJDK (64-bit)
INFO: Linux 6.5.0-1021-azure amd64

from argo-cd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.