Build artifacts; triggering builds

mattspeterson's Avatar


30 Jul, 2014 07:23 PM

Hi! I'm currently exploring Appveyor as a replacement for our crufty old build server. I have a couple of questions about how to accomplish things that I couldn't glean from the documentation:

1) Our code base consists of a number of projects. I am able to get them to pull from source control and build in Appveyor with no issues, but I need a way to reliably get the build artifacts (e.g. the zipped contents of the \bin folder) from the latest build of each project. It looks like the artifact cloud storage URL changes for each build. We have dependencies between our projects and need for one project to be able to pull the latest artifacts from another. I suspect the answer is going to involve NuGet in some way. We would rather not go that route yet. Is there any other way to do it?

2) We also would like a successful build in one project to trigger builds in all dependent projects. Is there a way to do this (e.g. with an API call or PS command)?

Thanks in advance for your help!

  1. Support Staff 1 Posted by Feodor Fitsner on 31 Jul, 2014 08:33 AM

    Feodor Fitsner's Avatar

    Hi Matts,

    Thanks for trying out AppVeyor!

    1) Right, those URLs are unique for every build because they contains job IDs. You could do a call to REST API to get build/jobs details then build link URLs and finally download artifacts.

    2) REST API could be used as well ( though we have TODO item for creating a new PowerShell cmdlet that you can use in build script.

  2. 2 Posted by mattspeterson on 31 Jul, 2014 02:06 PM

    mattspeterson's Avatar

    Is there any comprehensive documentation of the REST API? Just looking at the output of, for example, the job element is blank. Thanks!

           ~ Matt

  3. Support Staff 3 Posted by Feodor Fitsner on 31 Jul, 2014 02:15 PM

    Feodor Fitsner's Avatar

    You should take build details which contains jobs. While we are updating docs for API you can see the URL that's being sent in browser dev tools or Fiddler. Please let me know if you have any questions.

    - Feodor

  4. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:46 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac