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:28 | Build 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:29 | Build 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'
|
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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.