Slack notifications

Barry's Avatar

Barry

20 Dec, 2014 08:15 PM

Hi,

On this page http://www.appveyor.com/docs/notifications#slack it says to get the authentication token for Slack's API from api.slack.com.

I can't see how to do that? Does it mean an OAuth2 token?

Many thanks,
Barry

  1. Support Staff 1 Posted by Feodor Fitsner on 20 Dec, 2014 08:27 PM

    Feodor Fitsner's Avatar

    Hi Barry,

    It's a "bare" token under Authentication section on this page: https://api.slack.com/web

    Will fix docs shortly.

    -Feodor

  2. 2 Posted by Barry O'Kane on 20 Dec, 2014 08:42 PM

    Barry O'Kane's Avatar

    Thanks, I see that now and seems to work fine.

    I have a second question though: I am seeing newer builds under "History"
    but "Latest Build" shows one from a few hours ago - no matter how I try and
    access the actual latest (to see build errors). Is there an issue?

  3. Support Staff 3 Posted by Feodor Fitsner on 20 Dec, 2014 08:45 PM

    Feodor Fitsner's Avatar

    Well, "Last build" currently displays either running build or first queued, it's not like top of queue.

    -Feodor

  4. 4 Posted by Barry O'Kane on 20 Dec, 2014 08:50 PM

    Barry O'Kane's Avatar

    Ah, I see.

    So, I wonder why the I cannot see the build output from historic builds?
    Could it be because they have the same version number? Is it possible to
    view the build output from a failed build (that has the same version umber
    as the previous)?

  5. Support Staff 5 Posted by Feodor Fitsner on 20 Dec, 2014 08:52 PM

    Feodor Fitsner's Avatar

    The same version number is not good. Are you setting it from build script or build number is just not incrementing?

    -Feodor

  6. 6 Posted by Barry O'Kane on 20 Dec, 2014 09:02 PM

    Barry O'Kane's Avatar

    I don't think it incremented (not setting it in build script). However, I
    also clicked the "Re Build Commit" button and so ended up with 3 builds
    with the same number and the middle one was the latest commit. While that
    happened I got failed build notifications to Slack. I incremented the
    number manually via Settings - and pushed an update - all seemed to go well
    this time (I also received duplicate notifications, this time with success
    messages).

    A further push after that has incremented correctly and built successfully.

    Not sure if that helps(!), I am going to assume the issue was with "Re
    Build Commit" and just avoid using that if I can.

    Many thanks,
    Barry

  7. Support Staff 7 Posted by Feodor Fitsner on 20 Dec, 2014 09:05 PM

    Feodor Fitsner's Avatar

    Interesting, will take a look. Maybe a glitch but worth checking.

    -Feodor

  8. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:53 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