<-Previous || RM Table of Content || Next->
Release to Test Environment Sub-Processes
Release to Test environment is proceeded by developers. Release managers may be involved if needed. A Jira ticket number must be ready for updating the associated changes. The following lists sub-processes and details:
Create a remote Tag
- Login stash.uconn.edu using NetID and password.
- Open the page of AiMIntegrationBrokerWS repository in the AiMIntegrationBrokerWS project
- Click the Tags link on the left of the page
- Note down the next tag number (see the Administrative Notes)
- Click the Commits link on the left. Find the commit that is going to be released. Click its link.
- Click the Tag this commit link on the right
- Provide the tag name, and the Jira ticket number in the description as shown below. Click create tag button.
Pull the Tag to local
- In SourceTree, check out test branch
- Click Pull button, select test branch
- Click OK button to pull changes and tags to local
- Double click the selected tag to check it out. Click the OK button on the confirm dialog
- Find the war file in the local project directory, usually in the dist directory, note the location for deployment later
Deploy the tag war file to Tomcat server
- Copy the war file to /var/lib/tomcat8/webapps on thebrokertest.uconn.edu server via SSH
- Change ownership from user NETID to tomcat using sudo chown tomcat /var/lib/tomcat8/webapps/xxx.war, enter NETID password as necessary
- Restart Tomcat using sudo /usr/sbin/service tomcat8 restart, enter NETID password as necessary
- Make sure the active Tomcat status after restart using sudo /usr/sbin/service tomcat8 status, enter NETID password as necessary
- Make sure the war file is expanded to the same-named directory
Update JIRA Ticket
- Go to Jira, and type the url to the ticket, in the form
https://jira.uits.uconn.edu/browse/THEBROKER-xxx
For example, if the ticket is THEBROKER-1, the link is
https://jira.uits.uconn.edu/browse/THEBROKER-1 - Click the Edit button on the top left corner to edit the ticket, change the Assignee dropdown value to the developer, and provide a comment in the Comment text area (e.g. “In Test now”)