Compression and backup using 7-zip was successfully running before taking a teamcity server update. Afterwards I am getting Parameter "env.username" is undefined. whereas it is defined. Also 7-Zip is installed on the path but it keeps complaining about it does not exist. Following is copy from build log.
Parameter "env.username" is undefined.
Step 1/4: To copy and compress website before publish (Command Line) (running for 46s)
Step 1/4] Starting: \\test02\BackupStorage\BackupAndCompressScript.bat
[Step 1/4] in directory: Z:\publish\mysite
[Step 1/4] 7-Zip is not installed in the location:
[Step 1/4] Please update the directory where 7-Zip is installed.
and after this it hangs up. I have no idea whats going wrong. Please guide.