Skip to content

Error occurs when using git submodule #49

Description

@hossameldinmi

.yaml file

image: fischerscode/flutter:3.16.9

pipelines:
  default:
    - step:
        name: Run unit tests
        script:
          - git submodule update --init --recursive
          - cd ynmo
          - flutter pub get
          # - flutter analyze
          - flutter test --coverage
          - bash <(curl -s https://codecov.io/bash)

Error

+ git submodule update --init --recursive
fatal: detected dubious ownership in repository at '/opt/atlassian/pipelines/agent/build'
To add an exception for this directory, call:
	git config --global --add safe.directory /opt/atlassian/pipelines/agent/build

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions