I run an everyday build using Jenkins and Unity3d command line arguments
(Android build)
-quit -batchmode -projectPath "$WORKSPACE" - executemode BuildSetup
and (Windows build)
-quit -batchmode -projectPath "$WORKSPACE" - "Artifacts/game.x86.exe" -logFile "$WORKSPACE\unity3d_editor .
Jenkins polls the SCM (Perforce) and starts to build automatically when I submit changes. Everything works fine but new outcome files (for instance “game.apk” for android) overwrites the old ones. I’d like to avoid overwriting files and keep the old ones as well. Other words - I’d like to get as much “game.apk” files as build successful finished.
Please help me out if you got any idea how to deal with it.
Thanks, Adam.