./batch-update-versions-tomcat.sh JIRA_USERNAME [p]
JIRA_USERNAME – required only if global variable
$isAuthenticationRequired="Y" – see Configurations in
conf.sh for details
[p] – flag for parallel deployment
Before running the script user has to describe modules and versions, that he wants to update in the following file:
Content should be in the following format:
admin 126.96.36.199 billing 188.8.131.52 system 184.108.40.206 authentication 220.127.116.11
Modules will be deployed in the same order as they are listed in the
batch-modules.txt. It can be important if you have data base changes in the
.war files, that should be executed in a certain order (like SQL scripts for updating or dropping tables).
How It Works
This diagram describes only one server case. It's also possible to use multiple-module update on many servers – in that case blue area will be run on every server.