Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Deploy Tomcat Task not working properly when adding as a Deployment Project.

When I add a Deploy Tomcat Application task within a job in Build Project, It is working fine. But when I am adding the same task in Deployment Project,it fails.

What I observed that when 'Deploy Tomcat Application' task is added as Deployment project, it creates an empty folder with random numeric name,where it is unable to find desirable war and fails to deploy at tomcat. Please suggest a way.

For better understanding snnipet from log is given below:

10-Nov-2017 17:15:28Build Deployment of 'ATG_1.1' on 'QA Environment' started building on agent Default Agent
10-Nov-2017 17:15:28 
10-Nov-2017 17:15:29Build working directory is C:\Users\shashankshekhar_s\bamboo-home\xml-data\build-dir\7897089-8060929
10-Nov-2017 17:15:29

Executing build Deployment of 'ATG_1.1' on 'QA Environment'

10-Nov-2017 17:15:30Starting task 'Deploy at tomcat' of type 'com.atlassian.bamboo.plugins.tomcat.bamboo-tomcat-plugin:deployAppTask'
10-Nov-2017 17:15:31Could not find war file at C:\Users\shashankshekhar_s\bamboo-home\xml-data\build-dir\7897089-8060929\webapp\target\webapp.war. The application could not be deployed.
10-Nov-2017 17:15:31Finished task 'Deploy at tomcat' with result: Error

1 answer

0 votes
robhit Atlassian Team Nov 15, 2017

Hi Shashank,

"Could not find war file at C:\Users\shashankshekhar_s\bamboo-home\xml-data\build-dir\7897089-8060929\webapp\target\webapp.war. The application could not be deployed."

 

Are you downloading the artifact before invoking this task. from the logs it seems there is no such task to download the artifact.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo 7.1 is here and is packed with value!

I'm happy to announce that Bamboo 7.1 has been released and it’s overflowing with awesome new features. Top-voted issues First and foremost, a bunch of JAC top voted issues has been delivered - y...

573 views 1 6
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you