Accessing API read-only from build worker without a token

Rondom's Avatar

Rondom

16 Jun, 2017 08:42 PM

Hello,
would it be possible to use the API without a token in a read-only manner from the build workers?

I have two use cases for this and they both should run also (or especially) on pull requests without disclosing any "all-or-nothing" credentials.

One use case is as follows:
When doing a PR-build, compare the set of passed/failed/skipped/ignored tests or compiler warnings to the ones for the latest build of the master-branch. Post a comment on the PR on GitHub with the counts (+/-).

The other use case is testing on two OSes:
Re-using the artifact from one configuration in another "configuration" that runs the "Visual Studio 2017"-image. This way we could test both on Win2012R2 and on Win2016.

  1. Support Staff 1 Posted by Feodor Fitsner on 16 Jun, 2017 09:36 PM

    Feodor Fitsner's Avatar

    Of course, whatever public project you can see on UI can be accessed via API without any credentials.

  2. 2 Posted by Rondom on 18 Jun, 2017 04:17 AM

    Rondom's Avatar

    Thanks. Everything works as expected. It was not clear to me from the documentation that anonymous access is possible. Maybe you can add some sentence stating that here: https://www.appveyor.com/docs/api/#authentication

    Unfortunately I encountered two issues with the new image, but I am sure they can get solved somehow.

    https://github.com/appveyor/ci/issues/1614
    https://github.com/appveyor/ci/issues/1615

    As always, thanks for your fantastic support!

  3. Support Staff 3 Posted by Feodor Fitsner on 18 Jun, 2017 06:33 PM

    Feodor Fitsner's Avatar

    Hm, what happened to those issues? Both links give me 404.

  4. 4 Posted by Rondom on 18 Jun, 2017 06:54 PM

    Rondom's Avatar

    The links work fine for me?

  5. Support Staff 5 Posted by Feodor Fitsner on 18 Jun, 2017 07:10 PM

    Feodor Fitsner's Avatar

    See them now. Not sure what was that - must be a glitch.

    -Feodor Fitsner, AppVeyor
    ________________________________

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

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

Recent Discussions

19 Oct, 2017 02:25 AM
18 Oct, 2017 07:26 PM
18 Oct, 2017 11:00 AM
18 Oct, 2017 08:54 AM
18 Oct, 2017 07:42 AM

 

17 Oct, 2017 07:36 PM
17 Oct, 2017 05:39 PM
17 Oct, 2017 04:29 PM
17 Oct, 2017 07:49 AM
16 Oct, 2017 11:38 PM
16 Oct, 2017 10:01 PM