rhtnr / cake.sonarresults Goto Github PK
View Code? Open in Web Editor NEWCake addin to break build if SonarQube analysis fails
License: MIT License
Cake addin to break build if SonarQube analysis fails
License: MIT License
After running a build, in the same step I invoke the SonarResults bit.
step content in brief:
SonarBegin
MSBuild
SonarEnd
SonarQubeResults
Log output:
Creating a Sonar Task Retriever Client
An error occurred when executing task 'Inspect Code'.
Error: One or more errors occurred.
Could not load file or assembly 'RestSharp, Version=106.0.0.0, Culture=neutral, PublicKeyToken=598062e77f915f75' or one of its dependencies. The system cannot find the file specified.
Just because, i attempted to add the appropriate dependency to my cake's packages.config file, no luck.
Manually copying the .net standard 2.0 restsharp dll into the addin's lib directory allowed it to proceed
First of all, I wanted to thank you for adding to the Cake community by adding this addin.
I was just wondering if you had seen this blog post:
http://cakebuild.net/blog/2016/08/cake-contribution-organization
We are currently going through a process of increasing the visibility of addins, and also trying to ensure their long term maintainability.
To that end, we are asking addin creators to add the cake-contrib user on NuGet as a co-owner (this can be done through the NuGet website by clicking on Manage Owners on the package page).
Would you be interested in doing this? If you have any questions about this, please let me know. There was some initial concern that the Cake Team were trying to "take over" packages, and that couldn't be further from the truth, and if you have this concern, or others, I would like to address them.
Thanks!
You can replicate build and revision wildcards by implementing roslyn's version pattern logic in pure MSBuild:
<PropertyGroup>
<Build>$([System.DateTime]::op_Subtraction($([System.DateTime]::get_Now().get_Date()),$([System.DateTime]::new(2000,1,1))).get_TotalDays())</Build>
<Revision>$([MSBuild]::Divide($([System.DateTime]::get_Now().get_TimeOfDay().get_TotalSeconds()), 2).ToString('F0'))</Revision>
<Version>1.2.$(Build).$(Revision)</Version>
</PropertyGroup>
Originally posted by @dasMulli in https://github.com/dotnet/cli/issues/6923#issuecomment-354095128
Retrieving task status from http://localhost:9000/api/ce/task?id=xxxxxxxxxxxxxxxxx [POST]
An error occured while retrieving Task Status from SonarQube - SonarQube Task cannot be retrieved
Please help fixing this error. When i request this url over Postman or web browser I have proper response.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.