sonarqube报错:You‘re not authorized to analyze this proiect or the proiect doesn‘t exist on sonarqube

 You're not authorized to analyze this proiect or the proiect doesn't exist on sonarqube and you're not authorized to create it.
Please contact an administrator.

解决办法:

在sonarqube里,把token生成了一个type为global的(原来用的是type为project的),然后在jenkins里改用这个新token,然后就神奇的好了

原来虽然type是project的,可是确实是指定的我要扫描的这一个项目,不应该有问题,虽然解决了,但是不知道为什么之前的配置不行,按理说应该是可以的

报错日志参考:

14:24:08.495 INFO  ------------- Run sensors on module health
14:24:08.573 INFO  Load metrics repository
14:24:08.591 INFO  Load metrics repository (done) | time=19ms
14:24:09.196 INFO  Sensor JavaSensor [java]
14:24:09.212 INFO  Server-side caching is enabled. The Java analyzer will not try to leverage data from a previous a

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值