Hi all, I’ve integrated test rail setup into my ruby framework automation project by following GitHub - Originate/cucumber-testrail: Portal for Displaying Cucumber Results from CircleCI on TestRail!
But I’m unable to generate report in test rail.
Config.yml
version: 2.1
orbs:
ruby: circleci/ruby@0.1.2
workflows:
my-workflow:
jobs:
- build:
context: Testing
jobs:
build:
docker:
- image: circleci/ruby:2.5.1
executor: ruby/default
steps:
- checkout
- run:
name: run player automation
command: |
bundle install --path vendor --binstubs || exit 0
bundle exec rake tasks:clean_log_directories --trace
bundle exec rake browser_stack:check_bs_builds --trace
bundle exec rake browser_stack:wait_for_browserstack_sessions --trace
bundle exec rake dtc:android_parameterized["Samsung Galaxy S9","8.0"] --trace
- run:
name: generate html report
when: always
command: bundle exec rake tasks:generate_report --trace
- run:
name: publish test rail result
when: always
command: ./bin/publish_results
- store_artifacts:
path: reports
And while running it, I’m facing an error of permission denied as:
#!/bin/bash -eo pipefail
./bin/publish_results
/bin/bash: ./bin/publish_results: Permission denied
Exited with code exit status 126
CircleCI received exit code 126
Please let me know if you can help me to generate report on test rail.