Quantcast
Channel: CircleCI Discuss - Latest posts
Viewing all articles
Browse latest Browse all 14879

Download artifact automatically when the master branch build is finish

$
0
0

I think there are a few ways to achieve this.

  1. Add a new step to your job that only runs on: success, checks the branch that is on using a simple bash check for the current git branch, and then fires off a notification to some other service to download your artifacts. This could be an AWS Lambda job or something else along those lines.

  2. Using the API, poll for job statuses and download artifacts once a job on the master branch is finished.


Viewing all articles
Browse latest Browse all 14879

Trending Articles