I am using a windows server as a self hosted runner.
In my pipeline, I am trying to create artifacts. The artifacts are being created and I see that when the pipeline is running for some commit.
But after the pipeline is done, all the auto-generated folders, such as artifact, build, cache, ssh and tmp are deleted.
When I want to download the artifact for a run for a commit, it shows that there are no artifacts.
Is it possible to create artifacts and for them to be downloadable from the bitbucket repository? 
Here is my yml file: 
pipelines:
  default:
    - step: 
        name: Build Firmware in Keil 
        runs-on: 
          - self.hosted
          - windows
        script: 
          - echo "Build Firmware in Keil"
          - powershell -Command "& 'C:\\Keil_v5\\UV4\\UV4.exe' -r nav_terra_17.uvprojx -t 'Applikation'"
          - powershell -ExecutionPolicy Bypass -File .\.automation\run_keil_build.ps1
          - powershell -ExecutionPolicy Bypass -File .\.automation\check_keil_output.ps1
        artifacts:
          - .\Obj\App.bin 
The App.bin file exists and I made sure of that. 
To troubleshoot this effectively - we'd need to see runner logs/YML configuration/build logs. To share these, and for system approval to gain access to check your settings - we would need a Bitbucket Cloud support ticket.
As you are a Premium customer, please raise a ticket using your workspace URL so we can troubleshoot this further:
If you have issues doing so, please let us know and we can raise one on your behalf.
Cheers!
- Ben (Bitbucket Cloud Support)
 
 
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.