小编PSK*_*SKP的帖子

使用 sonar gradle 插件扫描 Java 8 Spring boot 项目以获取 sonarqube,但它需要 java 11

我的项目使用 java 8 和 sonarqube 插件id 'org.sonarqube' version '2.6.2'。当我使用 command 构建项目时./gradlew clean build,它构建得很好。

但是当我尝试运行时./gradlew sonarqube,出现错误

* What went wrong:
Execution failed for task ':sonarqube'.
> org/sonar/batch/bootstrapper/EnvironmentInformation has been compiled by a more recent
version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
Run Code Online (Sandbox Code Playgroud)

我的声纳任务看起来像什么

sonarqube {
    properties {
        properties["sonar.analysis.mode"]   = "publish"
        properties["sonar.projectKey"]      = System.getenv("SONAR_PROJECT_KEY").toString().trim()
        properties["sonar.projectName"]     = System.getenv("SONAR_PROJECT_NAME").toString().trim()
        properties["sonar.host.url"]        = System.getenv("SONAR_HOST").toString().trim()
        properties["sonar.login"] …
Run Code Online (Sandbox Code Playgroud)

java gradle sonarqube

5
推荐指数
1
解决办法
2460
查看次数

无需停机即可升级 Azure AKS

我正在寻找在不停机的情况下为 Azure AKS 升级 k8s 版本的方法,并发现了这篇令人惊叹的博客文章https://omichels.github.io/zerodowntime-aks.html但我只在开始时遇到错误

因此,当前在我的地区运行的 k8s 版本不再可用。当我尝试创建临时节点池时出现以下错误

(AgentPoolK8sVersionNotSupported) Version 1.19.6 is not supported in this region. 
Please use [az aks get-versions] command to get the supported version list in this region. 
For more information, please check https://aka.ms/supported-version-list
Run Code Online (Sandbox Code Playgroud)

如何才能实现零停机升级?

azure kubernetes azure-aks

1
推荐指数
1
解决办法
4527
查看次数

标签 统计

azure ×1

azure-aks ×1

gradle ×1

java ×1

kubernetes ×1

sonarqube ×1