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

Script task with empty lines in body generates invalid YAML Specs

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 7.2.0, 7.1.2
    • 7.1.0
    • Bamboo Specs
    • None

      Issue Summary

      If Script task body contains empty lines for inline script body it produces YAML Specs which can't be used by Bamboo

      Steps to Reproduce

      1. Create Plan with script task which contains empty lines for inline body
      2. Export plan to YAML Specs
      3. Use generated Specs for plan import

      Expected Results

      Plan is imported and works as expected

      Actual Results

      Error message

      Workaround

      Update script task inline body and remove empty lines

            [BAM-21025] Script task with empty lines in body generates invalid YAML Specs

            Zuzanna Struczewska made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 599727 ]
            Martyna Wojtas (Inactive) made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 563360 ]
            Jan Majkutewicz (Inactive) made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: Waiting for Release [ 12075 ] New: Closed [ 6 ]
            SET Analytics Bot made changes -
            UIS Original: 1 New: 2
            SET Analytics Bot made changes -
            UIS Original: 2 New: 1
            SET Analytics Bot made changes -
            UIS Original: 1 New: 2
            Bugfix Automation Bot made changes -
            Support reference count Original: 1 New: 2
            Alexey Chystoprudov made changes -
            Fix Version/s New: 7.2.0 [ 92133 ]
            Fix Version/s New: 7.1.2 [ 92391 ]
            Alexey Chystoprudov made changes -
            Status Original: In Progress [ 3 ] New: Waiting for Release [ 12075 ]
            Bugfix Automation Bot made changes -
            Support reference count New: 1

              achystoprudov Alexey Chystoprudov
              37e1a2f066c3 Craig Castle-Mead
              Affected customers:
              3 This affects my team
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: