Error: Permission denied while integrating Test Rail

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.

version: 2.1
  ruby: circleci/ruby@0.1.2 

      - build:
          context: Testing

      - image: circleci/ruby:2.5.1
    executor: ruby/default
      - 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/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.

From the above paste, it looks like your YAML spacing is off… Can you paste your whole config file, sanitised for any secret/private info so we can make sure the YAML file is correct as a starting point?

Ok, I have updated, please check now.