Blog
Mert Özen's blog posts on software development, backend, frontend, and DevOps.
A .NET Pipeline with Jenkins: dotnet SDK Container, Test Results, Coverage and Publish Artifacts
We restore, build, test and publish Bookstore.Api in the .NET SDK container and record the JUnit report, Cobertura coverage and a fingerprinted artifact in Jenkins. The NuGet cache volume's permission error and the time it saves, xUnit v3's JUnit output with Microsoft.Testing.Platform in .NET 10, the coverage quality gate, and a build that turns red when no test report is found.
Jenkins Shared Libraries: Sharing Pipeline Code with vars/ and src/
A Shared Library keeps repeated pipeline code in a separate repository as vars/ steps and src/ classes; pipelines load it pinned to a tag with @Library('lib@v1.2.0'). The dotnetCi and angularCi steps, a global library via JCasC, the risk of an unpinned main, real output of the difference between a trusted global library and a sandboxed folder library, a JenkinsPipelineUnit test, and when not to write a library.