So, what I'm doing:
Build n:
Cleaning a MODULE_NAME/test-output/* in workspace explicitly with ant
Running build and tests, getting some artifacts into folder from step one
Jenkins runs archive artifacts step for MODULE_NAME/test-output/*
Now artifacts are stored in build n - works for me.
Now build n+1 launching:
Cleaning a MODULE_NAME/test-output/* in workspace explicitly with ant
Checking artifacts from build n - they're still there, as expected.
Running build and tests, getting some artifacts into workspace folder from step one...
Jenkins runs archive artifacts step for MODULE_NAME/test-output/*
Now artifacts are stored in build n+1 - works for me, if not the next.
The problems is that, for some reason, artifacts from build n are lost.
My post-build actions:
How do I keep unique artifacts for each build?

