Jenkins Build Number - johnttaylor/epc GitHub Wiki

The Jenkins' environmental variable BUILD_NUMBER is used to provide the canonical version identifier for all software images. However, the out-of-box BUILD_NUMBER is only unique per Jenkins project (e.g. CI Build, Develop build, etc.) - not unique across projects. To make BUILD_NUMBER unique per project - the Next Build Number Plugin is used. This plugin allows each project to have a starting build number or offset. The following starting build numbers are used:

  • 1000000 for CI Builds

  • 2000000 for Develop Builds

  • 3000000 for Main Builds

    image