How nibinrj/buildlens-lab works
buildlens-lab is a small Maven build subject used to exercise BuildLens reporting. Its code path includes an API pricing service backed by core arithmetic; core also provides standalone slug conversion. The README describes stable core tests, an API slow test intended for BuildLens step P4, and a future injected-flakiness area for P3, currently empty. Jenkins builds the project and reports test results, stage timings, and log tail to BuildLens. Source excerpts establish the pricing-to-arithmetic call; other links reflect README documentation, not inspected pipeline or test implementations.
Main entry points: Jenkinsfile Build pipeline · Calculator.java Core arithmetic · PriceService.java Price service · core Stable tests
Components 9
Project code
- Core arithmetic
core/src/main/java/lab/core/Calculator.java - Price service
api/src/main/java/lab/api/PriceService.java - Slug conversion
core/src/main/java/lab/core/Slugs.java
Build reporting
- Build pipeline
Jenkinsfile
Test scenarios
- Stable tests
core/src/test/java/lab/core - Controlled slow test
api/src/test/java/lab/api - Injected flakiness
flaky-lab
Other components
- Jenkins
- BuildLens
Connections 8
- Price service → Core arithmetic: adds prices
api/src/main/java/lab/api/PriceService.java - Jenkins → Build pipeline: runs
README.md - Build pipeline → Core arithmetic: builds project
README.md - Build pipeline → Price service: builds project
README.md - Build pipeline → BuildLens: reports results
README.md - Stable tests → Core arithmetic: exercises
README.md - Controlled slow test → BuildLens: arrives at P4
README.md - Injected flakiness → BuildLens: planned for P3
README.md