Replies: 1 comment 1 reply
-
PS: my environment - gradle, junit5, kotlin, appium |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Can you help me to find a way to pass my test rail cli environment variables to YAML file.
I have followed this link [ https://support.testrail.com/hc/en-us/articles/12974525736084-Parameter-sources#configuration-files-0-1:~:text=as%20a%20parameter.-,Environment%20variables,-It%20is%20possible ] to set up the environment variables in .zshrc file as following:
export TR_CLI_USERNAME=username@company.com
export TR_CLI_PASSWORD=password
From the idea, I changed the trcli-config.yml file to following:
host: https://company.testrail.io/
project: ProjectName
username: ${TR_CLI_USERNAME}
password: ${TR_CLI_PASSWORD}
file: absolutePath.xml
config: absolutePath/trcli-config.yml
title: titleOfTestRun
milestone_id: milestoneId
run_id: testRunId
Then I run command:
trcli -y -c "absolutePathToFile/trcli-config.yml" parse_junit --case-matcher "name"
But have an issue saying that Error detected while checking a project: 'Authentication failed: invalid or missing user/password or session cookie.'
Beta Was this translation helpful? Give feedback.
All reactions