wocommunity/WOJenkins — comment on commit eabb93e9a19b131b73f532a46c097d6634bd2bdd
File:  line 0
By avendasora:

The intent of the DEPLOYED_APPLICATION_NAME is to allow the the final Application.woa bundle to be named something other than PROJECT_NAME.woa. We have identical applications that are deployed under different names and the only difference is a Property passed in through WOMonitor.

I what is causing you to want to change this is because the script broke due to the other recent changes you made. It seems that what you are wanting to do is substantially different from the original intent of this script and should therefor be a completely different script, not a change to the current one.