Tomas Bjerre:s blog

My blog on things I find interesting.

Estimate story points or time units?

Should you estimate tasks with story points or using time units? Here are my thoughts. When working in agile teams, typically with scrum, I am use to estimating stories. I commit to a

  • Tomas Bjerre
    Tomas Bjerre
1 min read
react

Using boilerplate, or template, projects without code duplication

A popular way of working seems to be creating template, or boilerplate, projects. Problem is, while you maintain the template project, how do you spread those improvements to the 100+ repositories that once copied the template!?

  • Tomas Bjerre
    Tomas Bjerre
1 min read
Jenkins

Release from Jenkins by pushing Git tags

This post will explain how to setup a single job in Jenkins that performs releases when tags are pushed to any number of repositories. This means you can:Let developers perform releases without

  • Tomas Bjerre
    Tomas Bjerre
2 min read
maven

Dependents of Maven artifacts

Finding out dependencies of an artifact is easy, but what about dependents? Who is depending on the artifact? That is a common problem when working with Java. The answer is needed in order

  • Tomas Bjerre
    Tomas Bjerre
2 min read
wiremock

Automatic stubs with Wiremock and JAX-RS

I often see mock, or stub, servers being configured in frontend projects. I see hard coded JSON files that are very likely to not match the true responses of the actual API. Here

  • Tomas Bjerre
    Tomas Bjerre
2 min read
Jenkins

Jenkins Configuration as Code and GitLab

I used Jenkins Configuration as Code and GitLab to demonstrate how Jenkins and its configuration (jobs, build process and global configuration) can be version controlled and fully automated.

  • Tomas Bjerre
    Tomas Bjerre
3 min read
intellij

Moving to IntelliJ IDEA from Eclipse

Being a long time Eclipse user I recently started using IntelliJ. Here are some notes on how I use it for Java and Kotlin. I will probably update this post continuously.ComparisonHere are

  • Tomas Bjerre
    Tomas Bjerre
4 min read
kotlin

Yet Another Kotlin VS Java Comparison

I recently started developing an application with Kotlin. I found myself constantly wondering exactly what effect the Kotlin features have on the actual compiled classes. I was able to automatically generate the answers

  • Tomas Bjerre
    Tomas Bjerre
1 min read
Jenkins

Jenkins Integration on Steroids

Parameterized jobs in Jenkins is nothing new. But integrating with services like GitHub is much more than just accepting some GET parameters. Generic Webhook Trigger aims at simplifying triggering of jobs from complex

  • Tomas Bjerre
    Tomas Bjerre
4 min read
Jenkins

Managing 1000+ Git repositories in Jenkins with a breeze

This is a pattern that I find simple, easy/quick while still keeping you in control of your build flow. Should be no problem applying it in an organization with a huge amount

  • Tomas Bjerre
    Tomas Bjerre
7 min read
Gradle

Sharing Gradle build scripts across repositories

While migrating my OSS from Maven Central to Bintray I realized I had a lot of duplicated Gradle scripts in different repos. I found some alternatives on how to share build scripts across

  • Tomas Bjerre
    Tomas Bjerre
1 min read
fitnesse

FitNesse with Maven and Jenkins

I needed to automate FitNesse tests in my clients build process. I also needed the test cases in Git so that testers can develop tests in the same feature branches as the developers

  • Tomas Bjerre
    Tomas Bjerre
3 min read
Swedish

Starta Eget Konsultbolag

Efter över 7 år som anställd konsult (mjukvaruutvecklare) valde jag nyligen att starta eget aktiebolag. Jag gör precis samma sak nu som jag gjorde som anställd men numera i mitt eget bolag istället.

  • Tomas Bjerre
    Tomas Bjerre
15 min read
Java

Java Code Formatting With Google Java Format

Most projects, that I work with nowadays, have a defined code standard that includes how the code should be formatted. That is great and improves code quality a lot... if followed! A single

  • Tomas Bjerre
    Tomas Bjerre
2 min read
GitLab

Continuous Integration with GitLab and Jenkins

My client recently started using GitLab. I did not find the plugins needed to properly verify merge requests. Here is what I wanted to do: Trigger on merge requests events. Merge, compile, test

  • Tomas Bjerre
    Tomas Bjerre
2 min read
Git

GitFlow and when you should use it

There are a lot of people explaining GitFlow in different blog posts and videos. I could not find one that, using the correct arguments, explained what it is good for. These are my

  • Tomas Bjerre
    Tomas Bjerre
4 min read
Jenkins

Continuous Integration with Bitbucket Server and Jenkins

I have started several projects where I develop plugins for Bitbucket Server and Jenkins. They are independent of each other but I thought it would be nice to have a blog post about

  • Tomas Bjerre
    Tomas Bjerre
9 min read
Java

Clean invocations of dirty methods

I recently started to implement a client for a REST API. I was using RetroFit and here is one the resources used by the client. public interface BitBucketServerService { @GET("/rest/api/1.

  • Tomas Bjerre
    Tomas Bjerre
2 min read
Static Code Analysis

Static code analysis with GitHub

I previously wrote about Violation Comments to Bitbucket Server plugin for Jenkins. I wanted to do the same thing with GitHub and Travis, here is the result. You may also have a look

  • Tomas Bjerre
    Tomas Bjerre
3 min read
Git

Git Changelog Lib - Changelog, or releasenotes, from template

I define a changelog as a document that, for every release, contains a section describing the changes in that release. I define releasenotes as the changes made in a specific release. Most notes

  • Tomas Bjerre
    Tomas Bjerre
1 min read
Stash

Simple Stash Commit Checker

Update 160912: There is a new post here. I'm currently working with a customer that has around 30 comitters working on the same code base. We are using Git with Atlassian Stash. Reccently

  • Tomas Bjerre
    Tomas Bjerre
2 min read
Jenkins

Building Atlassian Stash pull requests in Jenkins

Update 160912: There is a new post here. We are just about to introduce pull requests at my current position. We are using Git with Atlassian Stash and Jenkins. We want to verify

  • Tomas Bjerre
    Tomas Bjerre
5 min read

FindFilm.se - Netflix from A to Z, and more =)

I grew tired of the way Netflix is categorizing movies. I wanted to browse them alphabetically. I also wanted to find the movies that were recently added to Netflix. So I created Findfilm.

  • Tomas Bjerre
    Tomas Bjerre
1 min read
Raspberry

Dummy camera made smart with Raspberry Pi

I'd like to share how I build my camera using Raspberry Pi. I used a dummy camera and turned into a smart camera! The total cost is about £100 / 1000 SEK / $150 =) I

  • Tomas Bjerre
    Tomas Bjerre
1 min read
Raspberry

Raspberry Surveillance

I reccently bought a Raspberry PI. The main reason was that I had an idea of making some video surveillance software. I have made 2 previous blog posts regarding the Raspberry Pi and

  • Tomas Bjerre
    Tomas Bjerre
1 min read
Tomas Bjerre:s blog © 2022
Latest Posts Facebook Ghost