The blog of Blog of Christian Bär


Creating an Azure Pipelines extension

Most of what an Azure Pipelines build or release should do can be accomplished by using the builtin tasks or tasks from the marketplace. Especially generic tasks like the Command Line task combined with the ability to install software on the build agents by using package managers (e.g. Chocolatey on Windows) provide a lot of creative freedom. By implementing and publishing your own extension containing your custom tasks, you can consistently reuse functionality and make it easily accessible to other people inside and outside of your organization. [...]

Testing this blog's content

This blog is built using hugo, a static site generator and a continuous integration/deployment process (CI/CD) is set up for automatic publication. But wait! There’s hardly any CI and even less CD without automated tests, right? I certainly don’t want to end up in developer hell for not setting up some! Run tests before publication Before updates are published to this blog, some tests must be executed. There are different aspects that might be tested, the two main ones would be implementation (e. [...]