在詹金斯,我有一些管道,处于SonarQube阶段(版本:6.7.1,内部版本35068)。 在某些版本中,由于超时而终止:
12:19:01 Sleeping for 3 min 0 sec
[Pipeline] timeout
12:22:10 Timeout set to expire in 25 min
[Pipeline] waitForQualityGate
12:22:10 Checking status of SonarQube task 'XXXXXXXXX' on server 'Sonar'
12:22:10 SonarQube task 'XXXXXXXXXX' status is 'PENDING'
12:47:10 Cancelling nested steps due to timeout
及其它其他版本通过:
13:56:47 Sleeping for 3 min 0 sec
[Pipeline] timeout
13:59:47 Timeout set to expire in 25 min
[Pipeline] {
[Pipeline] waitForQualityGate
13:59:47 Checking status of SonarQube task 'XXXXXXXXXX' on server 'Sonar'
13:59:47 SonarQube task 'XXXXXXXXXXXX' status is 'SUCCESS'
13:59:47 SonarQube task 'XXXXXXXXXXXX' completed. Quality gate is 'WARN'
可能是什么原因?如何保持稳定?可能是网络问题吗?
答案 0 :(得分:1)
waitForQualityGate
对SonarQube服务器执行HTTP调用。
确保您的构建节点(主节点和从节点)都具有对SonarQube实例的HTTP访问权限。