Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-13198

Tomcat deployer should be able to accept the path of war file

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Won't Fix
    • None
    • Tomcat tasks
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      At the moment, the war file parameter has to be added in such a way that it points to the actual war file. Pointing to the directory does not work and fails with errors like:

      Could not find war file at D:\atlassian\BAMBOO\atlassian-bamboo-4.4.5\HOME\xml-data\build-dir\TESTA-TOMCAT2-JOB1\target. The application could not be deployed.
      

      It will be nice if it can calculate and identify the war file itself. This is quite important as sometimes the war file names are quite dynamic

      Workaround
      The workaround you can adopt at the moment since the configurator accepts variables will be to use bamboo build variables in your pom.xml so that the war files have a standard pattern and then use same variable in your tomcat config

      Attachments

        Activity

          People

            Unassigned Unassigned
            smaiyaki Sultan Maiyaki (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: