This article describes how to do a build under Jenkins, and tag it for release.
TMS (inTennis and ClassMaestro)
- Ensure the branch can be built successfully in local eclipse first.
- ant task clean-checkstyle-build-exe-deploy
- From source tree, tag the release branch with this format:
- v<version>:b<buildNumber>-<yyyyMMdd>
- e.g. v13.13.0-b23-20190701
- From the browser, go to http://jenkins.sportlogic.net.au:8080/
- Login as buildadmin
- click “inTennis-build2” for inTennis build
- on left, click menu
Build with Parameters - enter tag name
- monitor build log. if everything is successful, you should see
- Finished: SUCCESS in the console output.
- Do the same action for class maestro (classMaestro-build2) with same tag etc.
tms.web (Admin Portal, Customer Portal, Mobile app)
- from source tree, Sure the name of release branch has this format:
- v<version>:b<buildNumber>
- v13.13.0-b23 (same tag, without date stamp)
- Ensure the version in pom.xml is the same as the branch (no v)
- From the browser, go to http://jenkins.sportlogic.net.au:8080/
- Login as buildadmin
- Select WebApp-Java8-SpringBoot
- Build with parameter, use the release tag
- Monitor output