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

CI Gitlab katalonstudio error #25

Open
imsergiobernal opened this issue Dec 17, 2019 · 1 comment
Open

CI Gitlab katalonstudio error #25

imsergiobernal opened this issue Dec 17, 2019 · 1 comment

Comments

@imsergiobernal
Copy link

imsergiobernal commented Dec 17, 2019

Hello,` I'm trying to access to /opt/katalonstudio/config folder in order to get session logs.

I tried with this gitlab-ci config but does not seems to be attached as artifact. Any tip? Thanks!

image: katalonstudio/katalon
services:
  - docker:dind

stages:
  - test

e2e_job:
  stage: test
  script:
    - katalon-execute.sh -browserType="Chrome" -retry=0 -statusDelay=15 -testSuitePath="/tmp/katalon_execute/project/"
  artifacts:
    name: "$CI_COMMIT_REF_NAME"
    paths:
      - report/
      - /opt/katalonstudio/config
    reports:
      junit:
      - 'report/*.xml'
    when: always
  rules:
    - if: '$CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "master" || $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "develop"' # This rule will be evaluated
@imsergiobernal
Copy link
Author

imsergiobernal commented Dec 17, 2019

I think this is because /opt/katalonstudio/config is not mounted on /build/... so when artifacts tries to get into /opt/katalonstudio/config folder is missing. What do you think? How can I get into those logs or even better, attach them to the job artifacts?

203 Uploading artifacts...
204 report/: found 1 matching files                    
205 WARNING: /opt/katalonstudio/config: no matching files 
206 Uploading artifacts to coordinator... ok            id=381547990 responseStatus=201 Created token=-
207 Uploading artifacts...
208 WARNING: report/*.xml: no matching files           
209 ERROR: No files to upload                          
211 ERROR: Job failed: exit code 1

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