`[Pipeline] End of Pipeline

ERROR: SonarQube installation defined in this job (sonar) does not match any configured installation. Number of installations that can be configured: 1.

If you want to reassign jobs to a different SonarQube installation, check the documentation under https://redirect.sonarsource.com/plugins/jenkins.html

Finished: FAILURE
`

图形化构建流水线参照配置 : https://v2-1.docs.kubesphere.io/docs/zh-CN/quick-start/jenkinsfile-out-of-scm/

sonarqube参照配置 :https://kubesphere.com.cn/forum/d/2044-kubesphere-v3-0-0-sonarqube

    [root@kube-master-01 ~]# kubectl -n kubesphere-system get configmaps ks-console-config -o yaml
    apiVersion: v1
    data:
      local_config.yaml: |
        server:
          http:
            hostname: localhost
            port: 8000
            static:
              production:
                /public: server/public
                /assets: dist/assets
                /dist: dist
          redis:
            port: 6379
            host: redis.kubesphere-system.svc
          redisTimeout: 5000
          sessionTimeout: 7200000
        client:
          version:
            kubesphere: v3.0.0
            kubernetes: v1.18.6
            openpitrix: v0.3.5
          devops:
            sonarqubeURL: http://192.168.66.1:30587
          enableKubeConfig: true
    kind: ConfigMap
    metadata:
      annotations:
        kubectl.kubernetes.io/last-applied-configuration: |
          {"apiVersion":"v1","data":{"local_config.yaml":"server:\n  http:\n    hostname: localhost\n    port: 8000\n    static:\n      production:\n        /public: server/public\n        /assets: dist/assets\n        /dist: dist\n  redis:\n    port: 6379\n    host: redis.kubesphere-system.svc\n  redisTimeout: 5000\n  sessionTimeout: 7200000\nclient:\n  version:\n    kubesphere: v3.0.0\n    kubernetes: v1.18.6\n    openpitrix: v0.3.5\n  enableKubeConfig: true\n"},"kind":"ConfigMap","metadata":{"annotations":{},"name":"ks-console-config","namespace":"kubesphere-system"}}
      creationTimestamp: "2020-09-15T07:53:48Z"
      managedFields:
      - apiVersion: v1
        fieldsType: FieldsV1
        fieldsV1:
          f:data:
            .: {}
            f:local_config.yaml: {}
          f:metadata:
            f:annotations:
              .: {}
              f:kubectl.kubernetes.io/last-applied-configuration: {}
        manager: kubectl
        operation: Update
        time: "2020-09-18T09:42:58Z"
      name: ks-console-config
      namespace: kubesphere-system
      resourceVersion: "1492320"
      selfLink: /api/v1/namespaces/kubesphere-system/configmaps/ks-console-config
      uid: 1601cefb-2308-4872-82cf-6704b57447b2
    6 天 后