Posts

Showing posts from June, 2020

Jenkins Basics

Jenkins Build Parameters Table of Contents Jenkins Build Parameters Invoking Downstream Job with Build Parameters Reading Job results from child Job Global Tools Wait until block Edit properties/ json file within Jenkins Jenkins Job kill forcibly How to push Code to Git repository from Jenkins How to run parallel stages Jacoco Integration in build.gradle Jacoco PublishReport Plugin Publishing Artifacts and HTMLReport to Build Job Jenkins HTML Display Error Reset Jenkins Job Number Jenkins is the widely adopted open source continuous integration tool. You can orchestrate any application deployments using Jenkins with a wide range of plugins and native Jenkins workflows. In This Tutorial we will be demonstrates interesting features of jenkins pipeline. In this tutorial declarative pipeline syntax will be used. Note official documentation for jenkins pipeline syntax Jenkins Build Parameters Build Parameters makes jenkins job more d

Spring boot Feature Toggle Server

Image
Feature Toggles Specification Feature Toggles Specification Feature Toggles (often also referred to as Feature Flags) are a powerful technique, allowing teams to modify system behavior without changing code. Categories They fall into four categories Release Toggles Experimental Toggles Operation Toggles Permission Toggles Release Toggles Release Toggles allow incomplete and un-tested code paths to be shipped to production as latent code which may never be turned on. ReleaseToggle.java ​if(toggleConfig.isEnabled(Toggle.TOGGLE_ENCRYPT_USER_DATA)){ ​// Code that is under development but merged to master branch ​// This toggle can be enabled dev/qa but always disabled in prod } Experimental Toggles Experiment Toggles are used to perform multivariate or A/B testing . ExperimentalToggle.java if(toggleConfig.isEnabled(Toggle.TOGGLE_ENABLE_FEATURE)){ ​// Write tactical flow logic ​// T