In this blog post, I'd like to describe my experience with the migration of repositories from GitHub to Codeberg. The migration is still in progress, so I will update this blog post, when I will have a new lesson learned. Starting Point As I described in my previous post, I have three use cases for using GitHub: …
Read MoreAfter Microsoft bought GitHub, I made my thoughts on whether it is good to host source code on GitHub. Many features of Github are for free. Free in this context means you don't pay money for the features but with something else. Something else seems to be our data. As we learned, it was used to train Co-Pilot. To be …
Read MoreIn one of my customer project I have to use a Windows 11 system. In 2023, it should be not a problem as a Linux fan to work on a Windows system, because I could install WSL2 and the story would end on this point. Because of reasons, it is not allowed and not possible to install WSL2 on my system, so I fall back to …
Read MoreWhen your Java application wants to communicate with a server that used self-signed certificate, you get very often a javax.net.ssl.SSLHandshakeException, because the validation of self signed public key fails. It is possible to ignore this validation. But this is not recommended because of it simplifies a …
Read MoreIn this blog post, I'd like to show how to integrate Testcontainers in Spring Boot tests for running UI tests with Selenium. Why Testcontainers? Testcontainers is a library that helps to integrate infrastructure components like Selenium or databases in integration tests based on Docker Container. It helps to avoid …
Read MoreDuring working with GitLab multi-project pipelines and parent-child pipelines, I have encountered the problem how to pass variables through these pipelines. The GitLab documentation describes very well how to pass variables to a downstream pipeline. My challenge is how to pass variables from child to parent pipeline …
Read MoreSometimes you have to work on different projects that are hosted on different Git management systems (GitHub, Gitlab, BitBucket, Gitea). The classical scenario is that you work on open source projects that are hosted on GitHub and on enterprise projects that are hosted on an own Git management system. These projects …
Read MoreThanks Jenkins Maven HPI Plugin, you can do the most Jenkins plugin development stuff locally. But in some cases, you have to debug a Jenkins instance remotely (In my case, the Jenkins had to run in Azure to reproduce a bug). Jenkins is a Java application, so you have to add Java's JDWP agent for debugging as Java …
Read MoreSome days ago, I passed my CKAD (Certified Kubernetes Application Developer) exam. In this post I'd like to share the resources, that I used for my preparation. I started with reading the book Kubernetes in Action, First Edition to understand the concept of Kubernetes (k8s) under the hood. It gave me a deep dive in …
Read MoreHow to Measure Test Coverage in Invoker Tests with JaCoCo
May 31, 2021 · 2 min read · maven test-report integration-testing maven-plugin maven-plugin-testing maven-invoker-plugin jacoco test-coverage ·During the development of the P2 Maven Plugin, I wanted to get an overview about the test coverage of the code. The tests of this plugin can be divided in two groups: Unit tests, that is written with Java, Groovy and JUnit; integration tests, that is written with Maven Invoker Plugin JaCoCo is the defacto standard for …
Read More