When i reference the "WORKSPACE" variable in shell scripts there is an @<number> at the end. I notice this directory is used for everything i do during the build, but the SCM is in the directory without the @.
The problem is when i attempt to archive some directories that i create during the build, they are not in the actual workspace because it checks the directory without the @. The new stuff ends up in the directory with the @2. Does anyone know why this happens? I can work around it, but want to know why it's happening. I don't have concurrent builds enabled, and this build is tied to one windows slave. Thanks in advance.