Git Clone Optimization on Jenkins Pipeline

Most of our Jenkins pipelines use traveloka-product repository. It takes 8 minutes to clone this repo. To reduce clone time, BEI really encourages to update your Jenkins pipeline to utilize refspec and shallow clone parameter on git clone configuration. BEI already updated traveloka-product develop and codereview pipeline, resulting significant improvement from 8 minutes to 2 minutes(-75%). Thanks to Train team who volunteered to enable this changes, also get some improvement from 8 minutes to 45 seconds(-90%).
To enable this, kindly visit this guide.

Current Train-tb-release pipeline: