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

robots.txt file not working in Bamboo after the upgrade

      Issue Summary

      This is reproducible on Data Center:

      robots.txt file not working in Bamboo after the upgrade.

      The robots.txt protocol is used to tell search engines (Google, MSN, etc) which parts of a website should not be crawled.

      Steps to Reproduce

      1. Add robots.txt file(in Bamboo version 9.0.2) with below content under <Bamboo-Install>/atlassian-bamboo folder
        User-agent: *
        Disallow: /
        

        Refet this page Prevent Bamboo from being indexed by search engines

      2. Access the page URL <Bamboo-BASE-URL>/robots.txt, it will show content like:
      3. Upgrade the Bamboo to Bamboo 9.2.4
      4. Add the same robots.txt file under <Bamboo-Install>/atlassian-bamboo folder.
      5. Access the <Bamboo-BASE-URL>/robots.txt

      Expected Results

      robots.txt should be working and should be accessible.

      Actual Results

      robots.txt file throws page not found error like below:

      Workaround

      Check the notes section from the following KB article:

            [BAM-22474] robots.txt file not working in Bamboo after the upgrade

            To allow Bamboo to serve a robots.txt file, upgrade to a version equal to or later than the ones listed on this ticket's "Fix version/s" field, then add the following property to Bamboo and restart the application:

            • -Dbamboo.enable.robots.txt=true

            The robots.txt file should be stored on the <bamboo-install>/atlassian-bamboo/robots.txt location.

            Eduardo Alvarenga (Inactive) added a comment - - edited To allow Bamboo to serve a robots.txt file, upgrade to a version equal to or later than the ones listed on this ticket's "Fix version/s" field, then add the following property to Bamboo and restart the application: -Dbamboo.enable.robots.txt=true The robots.txt file should be stored on the <bamboo-install>/atlassian-bamboo/robots.txt location.

              73868399605e Eduardo Alvarenga (Inactive)
              dac6e1c9d0b2 Jyothi Charupalli
              Affected customers:
              1 This affects my team
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: