Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maestro command fails for multiple environment variables #12

Open
adamdanielczyk opened this issue Mar 26, 2024 · 0 comments
Open

Maestro command fails for multiple environment variables #12

adamdanielczyk opened this issue Mar 26, 2024 · 0 comments

Comments

@adamdanielczyk
Copy link

I have the Bitrise step defined like this:

- maestro-cloud-upload@1:
    inputs:
      - workspace: workspace-name
      - api_key: $MAESTRO_API_KEY
      - app_file: $BITRISE_APK_PATH
      - mapping_file: $BITRISE_MAPPING_PATH
      - env: |-
          ONE=var1
          TWO=var2

which results in this error:

+ maestro cloud --apiKey [REDACTED] --mapping /bitrise/deploy/mapping.txt -e ONE=var1 TWO=var2 /bitrise/deploy/name.apk workspace-name
Missing required parameters: '--app-file', '--flows'. Example: maestro cloud --app-file <path> --flows <path>

defining env params like this does not work either:

- env: "ONE=var1\nTWO=var2"

but like this works just fine:

- env: ONE=var1\nTWO=var2

not sure if the 2 failing cases above should be supported but for me it was not super clear from the docs what's the correct format

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant