Green build policy

Green Build Policy

During the last months I have been working with several teams that are struggling with green build policy.

What is a green build?

A green build signals that the code is working, it means that the software developed by the teams is in a state that can be release to the customer.

Why is a green build important?

The importance of a green build is explained in detail here, but in summary having a green build means that the basic software development practices are in place allowing the team to concentrate in other areas that need improvement. This blog post is another post that explains quite well why is it important to have a green build.

Keeping a green build for a long term is something quite difficult and demands a lot of discipline by the development team, here you find several reasons explaining why is it so difficult to keep a green build.

Green Build Policy

Below I will present several items that should be met in order to consider a build as a green build:

    • X% of code coverage from Unit Test

(If test coverage is minor than % defined the build gets red)

    • Automated tests for the User Story pass

(If any test fails the build gets red)

    • Integration testing pass

(If any test fails the build gets red)

    • Acceptance testing for all stories pass

(If any test fails the build gets red)

    • All regression testing of the product pass

(If any test fails the build gets red)

    • System-level Non-Functional requirements pass

(If any test fails the build gets red)

    • Static program analysis

(If the analysis of the tool is not met the build gets red)

Depending on how mature your software development process is you can add more items or you will need to remove some of these items, but with this blog post I believe that I gave you some ideas to think about your green built policy and what you should include in order to have a green build.

If you liked this idea and you want to receive many others subscribe the mailing list below. I promise to deliver only high quality content.

I would love to get a star rating for this post:

Green build policy
5 (100%) 4 votes

Leave a Comment

More from our blog

See all posts
asked questions about retrospectives

The 5 most asked questions about retrospectives

The 5 most asked questions about retrospectives Guest blog by Marc Löffler.…
Continue reading

Obeya - An example of The Big Room practice for Scrum.

This is a guest post by Dennis Mansell As Scrum Masters, the…
Continue reading

Answered: Your Most Burning Questions About Leading 2 Teams as a Scrum Master

Hi everybody! This time I would like to open a discussion about…
Continue reading