Currently, my repository is being built through Bitbucket pipelines, and archiving is configured in our YAML file as follows:
artifacts:
- linux/**
- win32/**
In this context, I'm looking to download artifacts from the most recent successful build using the REST API. The intention is to call this REST API through a Jenkins job.
Could you please advise on how to solve this problem?