We use artifactory
as a repo manager. We store packages for releases in repo libs-release-local
and snapshot packages in libs-snapshot-local
.
For example: If we send the war
(web app) into test, it should be from libs-snapshot-local
and if it is into stage & prod it will be from libs-release-local
.
I will say a scenario, where I needed help below:
Once the war
is certified good on test server we would send the same code to stage.
We saw a bug after deployed into stage, so we changed the code and again build it, it obviously cannot go to same versioned release(as in artifactory, we cannot override releases).
So,
- What will happen if we recognized 10 bug fixes one at a time, after each deployment in stage ?
- What if we have realized there are bug fixes after going to prod.
Artifactory will have bulk of folders with so many version names & folders. Is that good practice? Or else anything senses wrong in our procedure?
Thanks!