johnniang 谢谢,我发现了是这个原因,我想知道的是helm 2.16版本怎么下载sonarqube,大哥你懂吗?

    johnniang 谢谢,也是访问不了的,主要是我嫌helm2升级到helm3麻烦,所以想找helm2安装sonarqube

    15 天 后
    17 天 后

    用helm3 版本3.4.1 安装sonarqube 使用helm upgrade –install sonarqube sonarqube –repo https://charts.kubesphere.io/main -n kubesphere-devops-system –create-namespace –set service.type=NodePort 命令安装

    一直都是显示连接拒绝的错误,请问这是什么问题

    1 个月 后

    都配置了一直报这错,啥情况?

      猜测是你的 Jenkins 中配置的 Sonarqube 的名称和流水线中使用的不一致

      我们有计划对集成 Sonarqube 做优化,请查看 kubesphere/ks-devops#42

      2 个月 后
      19 天 后
      4 个月 后

      请问这个问题怎么解决,我折腾两天了,google百度了全不行,希望有大侠能出面解决一下。

      1 年 后

      为了从 UI 页面直接能够点击跳转到 Sonarqube 页面,需要如下配置

      kubectl edit cm -n kubesphere-system ks-console-config

      这个配置在每次升级或者ks-installer重启后都会消失需要重新配置,是不是有个地方可以配置永久生效

        1 个月 后
        7 个月 后

        大佬 我按照你这种方式 是可以加载到sonar 但是我sonar加载完后报错
        #####报错信息
        No previous SonarQube analysis found on this pipeline execution. Please use the ‘withSonarQubeEnv’ wrapper to run your analysis.

        ######
        我的通过kubesphere生成的Jenkinsfile

        stage('Code Analysis') {
        
          agent none
        
          steps {
        
            container('maven') {
        
              withCredentials([string(credentialsId : 'sonar' ,variable : 'SONAR_TOKEN' ,)]) {
        
                withSonarQubeEnv('sonar') {
        
                  sh '''mvn -B sonar:sonar -Dsonar.login=$SONAR_TOKEN -Dsonar.projectKey=demo-test 

        '''

                  timeout(unit: 'MINUTES', activity: true, time: 2) {
        
                    waitForQualityGate 'true'
        
                  }
        
                }
        
              }
        
            }
        
          }
        
        }