I created a cloud storage AWS S3 and connected to CodeFresh. Then as i following the instruction from allure documentation codefresh needs to look for allure-results but i dont know where is this folder and how to connect to it. I find a plugin and it looks like this enter code here upload_report: title: Upload Allure Report type: test-reporting fail_fast: false arguments: allure_dir: /codefresh/volume/e2e_api_test/allure-report bucket_name: amazon storage_integration: minios branch: master
when im running regression its not showing me test result button, so should i create folder inside git or whats the steps?
steps:
clone:
title: “Cloning repository”
type: “git-clone”
repo: “qalesson/flatlay7”
# CF_BRANCH value is auto set when pipeline is triggered
# Learn more at Variables · Codefresh | Docs
revision: “${{CF_BRANCH}}”
git: “github-1”
stage: “clone”
yep, forget to merge pr, just did it, when running locally allure-reports folder created. still cant see it in codefresh, im gettin some error rn : Failed to run freestyle step: Running test
Caused by Container for step title: Running test, step type: freestyle, operation: Freestyle step. Failed
with exit code: 1
You also need to enable this checkbox in your account for me to see the build https://codefresh.io/docs/docs/administration/user-settings/#enable-access-for-support-personnel
By default your pipelines are not accessible to anybody (not even Codefresh personnel).
do i need to have allure-report folder in git repo? or its gonna get created by codefresh somewhere?
also maybe problem in path :
unit_test_reporting_step:
title: Generate test reporting
image: codefresh/cf-docker-test-reporting
working_directory: ‘${{CF_VOLUME_PATH}}/’
environment:
- BUCKET_NAME=dct-user-data-lab111111
- CF_STORAGE_INTEGRATION=amazon
did i write it correctly? bucket name the one from s3 aws storage? is there any requirements for this storage? private bucket or not?
As far as I know the folder allure-report is created by Allure itself. Codefresh only searches for this folder and presents the results in a nice format
I don’t think the S3 bucket needs special requirements. As long as Codefresh can access it (from the integration screen) it should work.
I have looped in our support team, so they will soon contact you and guide you with the errors.