Furkan Zumrut

Keep your Test Environment more stable with Pre-Branch

test environment

 

In most of company, keeping test environment stable is a big problem. When test environment unstable it affect test team. It’s waste of time for them. And making test environment unstable is a fear for every developer.

When one of in your developer team sends bad code to your master branch it affects your test environment deployment if we think we have test environment and production environment with master and prod branch.

 

 

So, we have simple solution for that. Use pre-branch and create one more branch and think it like a bad code filter. So, when someone finished his task and he will merge his code our pre-branch. Think his code bad code that guy forgot to run all tests or something like that. It will only affect your pre-branch. Btw, If we want to give a name for it, we can call preMaster branch. So, tests will fail in preMaster branch and his code won’t merge to master branch. If all test is success in preMaster branch. It will merge automatically master branch. So, deployment will be in master branch and bad code will not affect our test environment and it gives us more stable test environment.

Jenkins has a good plugin to create this pipeline. Here is link for it

 

More from my site

  • Save your money shutting down EC2 Instance with AWS Lambda!
  • Using Gzip Compression in Spring Boot
  • Mockito ile Unit Test Yazımı
  • org.hibernate.LazyInitializationException: could not initialize proxy – no Session hatası ve çözümü
  • [Soap Project] CarSalesWebService Source Code (APACHE CXF)
  • Maven ile java projesi oluşturmak
devops, jenkins, multi jenkins job, pre branch, premaster
Devops

Recent Posts

  • How to run java jar in Elastic beanstalk with custom jvm parameters? (Procfile)
  • How to change timezone with ebextension in Elastic Beanstalk?
  • Save your money shutting down EC2 Instance with AWS Lambda!
  • Keep your Test Environment more stable with Pre-Branch
  • Getting Started with Scalate: Simple Web Application with Spring MVC

Medium

Pages

  • CV

Categories

  • Android
  • AWS
  • CXF
  • Devops
  • Genel
  • Java
  • Javascript
  • JAX-RS
  • JPA/Hibernate
  • JSF
  • Maven
  • Postgresql
  • Servlet
  • Spring
  • Tomcat

Archives

  • August 2017
  • June 2016
  • October 2015
  • June 2015
  • May 2015
  • April 2015
  • February 2015
  • December 2014
  • November 2014
  • October 2014
  • June 2014
  • May 2014
  • June 2011

Theme created by Mick de Graaf

age of civilization
tank stars