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

The Pipelines .yml file validator returns an error when defining a service

    XMLWordPrintable

Details

    Description

      Steps to Reproduce

      1. Go to https://bitbucket-pipelines.atlassian.io/validator
      2. Try to validate the following:
      #!python
      
      pipelines:
        branches:
          master:
            - step:
                image: redis
                script:
                  - redis-cli -h localhost ping
                services:
                  - database
      definitions:
        services:
          database:
            image: mysql
            environment:
              MYSQL_ROOT_PASSWORD: password
      
      

      Expected Results

      The file is marked as valid

      Actual Results

      The following error shows:

      Attachments

        Activity

          People

            Unassigned Unassigned
            tboudale Theodora Boudale
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: