The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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

TAGS
AUG Leaders

Atlassian Community Events