Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Cannot see artifact in the interface

Andy Tomlin November 12, 2022

I added an artifact to collect a logfile from the test run. The instruction say select artifact tab in the pipeline review results - but I cannot see any tab. I am guessing that somehow my artifact is not collected as either I have configured it wrong or its because the test failed. Looking for suggestions.

2 answers

1 accepted

0 votes
Answer accepted
Andy Tomlin November 14, 2022

Use artifacts: not artifact:

dont use ./ in path

0 votes
Mark C
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 13, 2022

Hi @Andy Tomlin,

Thank you for reaching out to the community.
For the artifacts you've configured, would it be possible for you to confirm if the file is located within the clone directory (BITBUCKET_CLONE_DIR) as mentioned in the documentation?

Could you also share your artifacts configuration?
For example:

        artifacts:
          - some_folder/**

Regards,
Mark C

Andy Tomlin November 14, 2022
          artifact:
            - ./ascari.log
Andy Tomlin November 14, 2022

I did an additional test:

      - step:
          name: artifact test
          image: justinjones/qi-dev:v1.00
          script:
            - echo test > ascari.log
          artifact:
            - ./ascari.log
Still do not see and log
Andy Tomlin November 14, 2022

Nevermind. I see my issue artifact not artifacts

Doh!

Andy Tomlin November 14, 2022

Well, almost. at least I now see the artifact tab. But it says no artifact uploaded

Andy Tomlin November 14, 2022
      - step:
          nameartifact test
          imagejustinjones/qi-dev:v1.00
          script:
            - echo test > ascari.log
          artifacts:
            - ./ascari.log
Creates the artifact tab but there is no file
Andy Tomlin November 14, 2022

ok looks like dropping ./ works

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events