🔥Trigger SonarQube Analysis from Jenkins🌟 || Part - 2 || engineerhoon

Поділитися
Вставка
  • Опубліковано 16 вер 2024

КОМЕНТАРІ • 26

  • @elena_sol
    @elena_sol 7 місяців тому

    Thank you! This video was really helpful and steps are easy to follow, I've tried several tutorials but only with yours I succeeded.

  • @shyamakrishna708
    @shyamakrishna708 4 дні тому

    Good one

    • @Engineerhoon
      @Engineerhoon  2 дні тому

      Thank you! Do browse through the channel for more interesting stuffs 😃

  • @GauravSharma-os6ds
    @GauravSharma-os6ds Місяць тому

    U made it easy 😀

    • @Engineerhoon
      @Engineerhoon  18 днів тому

      Thank you for letting me know that you find it helpful 😊

  • @tosandeepyandra
    @tosandeepyandra 2 місяці тому +1

    How do I get count of code smells, bugs count etc for all projects ?
    Any specific url via api? or any other way to retrieve such data ?

    • @Engineerhoon
      @Engineerhoon  2 місяці тому

      Check the Sonarqube playlist on my channel. You will find dedicated videos on these topics.

  • @froideexplica6601
    @froideexplica6601 6 місяців тому +2

    um hello of the brazil, thnx

  • @SaurabhPatil-bz3oc
    @SaurabhPatil-bz3oc 3 місяці тому

    Please confirm if in sonarqube analysis shows failed then why pipeline is not getting failed?

  • @honeypatel-v3q
    @honeypatel-v3q 6 місяців тому

    i am getting, 0 lines analyzed for .net core project in sonarqube panel. can you guide me?

  • @NawneetKumarSingh
    @NawneetKumarSingh 11 місяців тому +1

    awsome

  • @HimeshRana-m9z
    @HimeshRana-m9z 10 місяців тому

    can you please explain how sonar qube line of code, price of per edition, and how each edition use LOC limit is count. if we have source code of number of line (like 50 lac) then we will buy plan according to that ....then over lince limit will be over...if its over then we have again buy somthing.

  • @SirJi-m6w
    @SirJi-m6w 4 місяці тому

    ERROR: Error during SonarScanner execution ERROR: You're not authorized to analyze this project or the project doesn't exist on SonarQube and you're not authorized to create it. Please contact an administrator. -> getting this error, any idea how it can be resolved?

  • @sahadevdahit
    @sahadevdahit 6 місяців тому

    How to use in pipeline. Only showing build environment in freestyle not in pipeline

  • @generalgyan8705
    @generalgyan8705 11 місяців тому +1

    Bro for every project , token should be same or it changes.

    • @Engineerhoon
      @Engineerhoon  11 місяців тому

      Using a single token for all projects in SonarQube and Jenkins is not recommended for security reasons. Tokens are typically used to authenticate and authorize access to specific resources or actions. Using a single token for all projects can pose significant security risks:
      Lack of Granularity: A single token would provide the same level of access to all projects and actions within SonarQube and Jenkins. This means that anyone with the token would have unrestricted access to all projects, including potentially sensitive or critical ones.
      Difficulty in Revoking Access: If the token were compromised or if someone with access needed to have their permissions revoked, you would need to invalidate the token for all projects, affecting legitimate users and processes.
      Audit Trail Issues: Using a single token makes it challenging to track who performed specific actions within SonarQube and Jenkins. This can be critical for auditing and troubleshooting purposes.
      Limited Role-Based Access: Security best practices often involve implementing role-based access control (RBAC) to ensure that users and systems have appropriate permissions. Using a single token bypasses RBAC mechanisms.
      To maintain better security and access control:
      In SonarQube, consider creating separate tokens with appropriate permissions for each project or group of projects. This way, you can control who can access and perform actions on specific projects.
      In Jenkins, use built-in authentication and authorization mechanisms. Jenkins supports a wide range of authentication methods, including LDAP, Active Directory, and more. You can also set up fine-grained access control using the Role-Based Authorization Strategy plugin.

    • @generalgyan8705
      @generalgyan8705 11 місяців тому

      @@Engineerhoon Hi Bro thanks for clarifying my question. Much appreciated. Can I have your WhatsApp number Bro?

  • @Sathyavarun-d1i
    @Sathyavarun-d1i 10 місяців тому

    I installed a plugin but I do not have an option( prepare SonarQube scanner environment )

    • @Engineerhoon
      @Engineerhoon  10 місяців тому

      Please check Jenkins version. Try on latest. Try restarting Jenkins.

  • @jayakamble5974
    @jayakamble5974 8 місяців тому

    "Error during SonarScanner execution" getting this error after i triggered build

  • @Sathyavarun-d1i
    @Sathyavarun-d1i 10 місяців тому

    sorry am not check the environment variable good thank you!