File Structure
Common files (that can be synchronized)
version-updater/functions-tomcat.sh
– global functions that are specific for Tomcat 8version-updater/functions.sh
– global functions, that are used in all serversversion-updater/readme.txt
– brief description of the scriptupdate-version-tomcat.sh
– one-module updaterbatch-update-versions-tomcat.sh
– multiple-module updater
Local configuration files
Configuration files depend on specific environment.
version-updater/conf.sh
– file with global variables that are specific for every environmentversion-updater/functions-local.sh
– file with local functions that depend on users input (for example, to set module and version)version-updater/batch-modules.txt
– file, where user should specify modules and versions that he wants to update with batch script; file name and path can be changed with global variable$batch
version-updater/jira-issues.txt
– file, where are listed module and JIRA issue code mappings; file name and path can be changed with global variable$issues
Local output files
These files should be modified only by script, user shouldn't edit them.
version-updater/update.log
– file where script stores logs about all updates that were made with it; file name and path can be changed with global variable$log
version-updater/jira-rest.txt
– empty file, that script uses for performing REST request to JIRA; file name and path can be changed with global variable$rest