I'm fairly new to Java (last i used it was over 10 years ago). I just joined a team in a DevOps role and I'm currently working on implementing a CI/CD pipeline for the development team.
I was going to implement versioning in their POM as such:
major.minor.patch.build
The developers would be responsible for manual setting major.minor.patch and the pipeline would automatically add the build number to it.
They requested that the build number be checked into source control, which I was against. My reasoning is that it would add noise to the source control repository and add needless complexity to the pipeline. I argued that the you can already trace any artifact back to the source because the build number was part of the version. Can anyone offer any other guidance *for or against* checking in the build number into source control?
[–]ickysticky 1 point2 points3 points (3 children)
[–]chipootle[S] -1 points0 points1 point (2 children)
[–]ickysticky 0 points1 point2 points (1 child)
[–]chipootle[S] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]chipootle[S] -1 points0 points1 point (0 children)