简体   繁体   中英

Jenkins + Sonarqube - Unhandled Exception: System.Net.WebException: The remote server returned an error: (401) Unauthorized

I'm trying to set up SonarQube (with Scanner for MSBuild) on Jenkins but gives me a fail, I have read other comments about this error and talks about SonarQube.Analysis.xml but it seems to be correct, Where should I make a look to realize that everything is correct?

http://pastebin.com/ghAxZPpj

this is my SonarQube config:

作业配置

Thanks you very much, If there's some necessary information, do not hesitate

UPDATED

The SonarQube MSBuild integration failed: SonarQube was unable to collect the required information about your projects. Possible causes: 1. The project has not been built - the project must be built in between the begin and end steps 2. An unsupported version of MSBuild has been used to build the project. Currently MSBuild 12.0 upwards are supported 3. The begin, build or end steps have not all been launched from the same folder Generation of the sonar-properties file failed. Unable to complete SonarQube analysis.

解决 ,最后将MSBuild从v4.0(从.net框架在Win10中默认)更新为最后一个MSBuild工具2015 ...我与Jenkins for Windows的第一次接触。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM