Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-14025

Adding a colon in a string in Pipelines .yml file breaks the build

      Summary

      Adding a colon in a string in Pipelines .yml file breaks the build

      Steps to Reproduce

      1. Create a bitbucket-pipelines.yml with the following content:
      #!python
      
      pipelines:
        default:
        - step:
            script:
              - echo "Test: Colon"
      
      1. Push to trigger a build

      Expected Results

      The build runs successfully

      Actual Results

      The build fails with the following error:

      It looks that the colon in the string might be interpreted as a yaml separator?

      Notes

      For some reason, including the echo command in the string works:

      #!python
      
      pipelines:
        default:
        - step:
            script:
              - "echo Test: Colon"
      

            [BCLOUD-14025] Adding a colon in a string in Pipelines .yml file breaks the build

            No work has yet been logged on this issue.

              Unassigned Unassigned
              tboudale Theodora Boudale
              Affected customers:
              0 This affects my team
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: