I have bitbucket on a GCP vm instance and bamboo on another. I've linked the two applications together and added the appropriate bitbucket repo to bamboo. When trying to deploy a tomcat server using the war file from the bitbucket repo, I get an error indicating the WAR file couldn't be found. Here's the message:
simple 20-Mar-2018 00:57:26 Build test_project - test_name - Default Job #6 (TPR-TNM-JOB1-6) started building on agent Default Agent
simple 20-Mar-2018 00:57:26
simple 20-Mar-2018 00:57:26 Build working directory is /var/atlassian/application/bamboo/xml-data/build-dir/TPR-TNM-JOB1
simple 20-Mar-2018 00:57:26 Executing build test_project - test_name - Default Job #6 (TPR-TNM-JOB1-6)
simple 20-Mar-2018 00:57:26 Running pre-build action: VCS Version Collector
simple 20-Mar-2018 00:57:26 Starting task 'Test Description' of type 'com.atlassian.bamboo.plugins.tomcat.bamboo-tomcat-plugin:deployAppTask'
error 20-Mar-2018 00:57:26 Could not find war file at /var/atlassian/application/bamboo/xml-data/build-dir/TPR-TNM-JOB1/target/gulc.war. The application could not be deployed.
simple 20-Mar-2018 00:57:26 Finished task 'Test Description' with result: Error
simple 20-Mar-2018 00:57:26 Running post build plugin 'NCover Results Collector'
simple 20-Mar-2018 00:57:26 Running post build plugin 'Artifact Copier'
simple 20-Mar-2018 00:57:26 Running post build plugin 'npm Cache Cleanup'
simple 20-Mar-2018 00:57:26 Running post build plugin 'Clover Results Collector'
simple 20-Mar-2018 00:57:26 Running post build plugin 'Docker Container Cleanup'
simple 20-Mar-2018 00:57:26 Finalising the build...
simple 20-Mar-2018 00:57:26 Stopping timer.
simple 20-Mar-2018 00:57:26 Build TPR-TNM-JOB1-6 completed.
simple 20-Mar-2018 00:57:26 Running on server: post build plugin 'NCover Results Collector'
simple 20-Mar-2018 00:57:26 Running on server: post build plugin 'Build Hanging Detection Configuration'
simple 20-Mar-2018 00:57:26 Running on server: post build plugin 'Clover Delta Calculator'
simple 20-Mar-2018 00:57:26 Running on server: post build plugin 'Maven Dependencies Postprocessor'
simple 20-Mar-2018 00:57:26 All post build plugins have finished
simple 20-Mar-2018 00:57:26 Generating build results summary...
simple 20-Mar-2018 00:57:26 Saving build results to disk...
simple 20-Mar-2018 00:57:26 Logging substituted variables...
simple 20-Mar-2018 00:57:26 Indexing build results...
simple 20-Mar-2018 00:57:26 Finished building TPR-TNM-JOB1-6.
It looks like bamboo is trying to search for the WAR file in its own directory vs the bitbucket repo. Any suggestions?