Azure DevOps自托管管道代理无法连接到服务器

时间:2020-07-30 16:41:43

标签: azure-devops azure-pipelines

我正在测试Azure DevOps Pipelines,并将代理安装在Windows计算机上。

但是,当我运行* What went wrong: Execution failed for task ':app:compileDebugKotlin'. > Kotlin could not find the required JDK tools in the Java installation 'C:\Program Files\Java\jre1.8.0_261' used by Gradle. Make sure Gradle is running on a JDK, not JRE. * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. * Get more help at https://help.gradle.org BUILD FAILED in 33s Exception: Gradle task assembleDebug failed with exit code 1 时,它无法连接到我的Azure DevOps服务器:

config.cmd

如何检查会发生什么?可能与服务器使用自签名HTTPS证书有关吗?

1 个答案:

答案 0 :(得分:0)

问题出在自签名证书上。一旦我用ZeroSSL的证书替换了它,该问题就消失了。