Bamboo TutorialIntroduction Installation Creating projects and plans Cloning (Copying) a build plan Configuring visible projects in Bamboo Editing build plan Changing the plan name Disable plan Delete the build plan Configuring stages, Jobs and Tasks Configuring build plan repositories Adding Scheduled build trigger Adding Repository polling trigger Adding new branch Running a branch Branch actions in Bamboo Configuring build plan permissions Configuring build notifications Expiry of the build history Passing parameters and variables to the build Adding Maven build plan Adding Gradle build plan in Bamboo Adding MSBuild task in Bamboo Adding MSTest task Linux shell build Windows batch command build Windows Powershell build Running the build plans manually build history build logs Bamboo Reports Authors Page in Bamboo Executing Selenium tests in Bamboo Creating and viewing artifacts Running customized build plan Build queue in Bamboo Agents Global Variables User Management Server Capabilities Linked Repositories Group Management Global Permissions Add-ons Management Email server Server address License Information in Bamboo Bamboo System Information Bamboo Audit log Import/Export build plans in Bamboo Build History clean up Bulk edit plan permissions Move build plan in Bamboo Delete build plans Bulk actions in Bamboo Adding deployment project to build plan in Bamboo Web application deployment to tomcat using Bamboo
Web app deployment in bambooIn this article, we are going to take a look at how to deploy war file to Tomcat using Bamboo. Here is the list of steps you need to follow.
- Create a new build plan which will checkout the source code of web application from repository.
- Use maven or gradle task to build and package the application. This will create the .war file in output directory.
- Create a artifact definition to copy this war file and save on the server. Ensure that this artifact is shared.
- Create a deployment project for this build plan.
- Add tomcat deployment task to deploy the .war file
- Add maven package task in Bamboo
- Create war artifact in Bamboo
- Tomcat Manager url – By default it is https://localhost:8080/manager
- You need to also provide the username and password for tomcat manager
- Finally you have to give application context path
Complex problems, Simple Solutions