Tuesday, 27 February 2018
Containers and DevOps: where are we? Some of my thoughts.
Friday, 16 February 2018
A quick look at the new SonarQube tasks for TFS and VSTS
Last week SonarSource released a new version of their tasks for TFS and VSTS, with a couple of very welcome additions.
Up to v3, we basically had to do everything manually – especially passing parameters with the /d:… switch.
v4 introduces a context-aware switch where you can specify what you are using for your build:
The Use standalone scanner is quite interesting, as it guides you towards providing a .properties file:
Also, gone are the days of using /d:… inline. There is a very handy Additional Properties textbox to use with a line-by-line parsing, which makes property override very easy to do:
Tasks are also split now into Prepare Analysis, Run Code Analysis and Publish Analysis Result, to allow a more streamlined design of your Build Definition.
Thursday, 8 February 2018
Build Agents losing connection after switch to HTTPS
A quick one I am dealing with these days – if you switch the Public URL of your Team Foundation Server to HTTPS you might see your Build Agents losing connection with the server.
This usually happens because of a known bug in TFS an OAuth token isn’t registered so all the authentication tokens on the agents expire.
Of course YMMV, so always double check with Support before running a Stored Procedure on your production instance.
If you happen to get into this problem, you can mitigate it by reverting your HTTPS switch-on and changing the Public URL back to the HTTP version. Doing that will re-establish the connection between the server and the agents.