Url to last succeful build log?

We have a tool to monitor our builds/unit tests that works with any CI server that allows to obtain build/unit test logs via static url.
Is there one for appveyor?

To be more precise: I'm interested in file containing full console output from the last successful build (including output from tests).
Something like the text displayed at CONSOLE tab as example but without line numbers.

There's also link to the log at the top of the page but it does not contains raw output, the time is appended to each line. Also, the link to the log is not static, it changes for each build.

UPD: And also it looks like the log output wraps accidentally, as example - line 2463 here (here's the build the log is from)

  1. You can use REST API to get log URL: http://www.appveyor.com/docs/api/projects-builds

  2. @ Feodor Fitsner

    Well, the response for get last build has no mention of log url. Am I doing something wrong?

    Also, we'd prefer to have a static url the same way that is used for artifacts, https://github.com/appveyor/ci/issues/403 Should I create an github issue for it?

    Thanks!

  3. There is jobId in that response which is what you need. Download URL for log is:

    https://ci.appveyor.com/api/buildjobs/{jobId}/log
    
  4. Ok. But this is not raw output. It's has timing prefix on start of each line and the lines are sometimes wrapped.

    Is there another way to get the log, may be as an build artifact?

  5. I'm afraid this is all we have: either /log or /console.

  6. @Feodor Fitsner

    Ok, dubbed as github issue, https://github.com/appveyor/ci/issues/819

    Thanks!

  7. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:06 AM.

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

Keyboard shortcuts

Generic

? 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