Taming Unit Test logging in Docker pipeline for .NET
Taming Unit Test logging in Docker pipeline for .NET
Automation, bash, CI/CD, Docker

Taming Unit Test logging in Docker pipeline for .NET

The main problem of a CI/CD pipeline – in my opinion – is logging. When it logs too little you don’t know what’s going on, when it logs to much you can’t see the trees to the forest. Having too much logging can seriously impact the effectiveness of your CI/CD pipeline. This script will improve Xunit unit test output.

PowerShell snippet: check if software is installed
PowerShell snippet: check if software is installed
Automation, PowerShell, Windows

PowerShell snippet: check if software is installed

Some deployment scripts need to check if certain required software is installed on a Windows Machine. You could check if the file is present at a certain location, but there is a better way to check if software is installed: the uninstall database in the Windows Registry. PowerShell makes it really easy to query the registry!