Post Build step to notify third part of deploy

chris.dunn's Avatar

chris.dunn

20 May, 2015 10:29 AM

Hi,

I'm considering an error logging service such as raygun.io or rollbar.com and they provide the means to track deploys so they can identify problematic deploys. This requires I send them notification when a deploy is successful.

These services provide different ways of doing this such as powershell scripts, msbuild targets or a plain old HTTP Post.

See here for examples:

https://rollbar.com/docs/deploys_msbuild/
https://rollbar.com/docs/deploys_other/
https://raygun.io/docs/deployments/powershell
https://raygun.io/docs/deployments/api

How would I go about setting this up? do you have any documentation or examples? which of the above methods is the best way to achieve this?

Also, the script (regardless of whether it's ps, msbuild, or http) will need to use a different ApiKey (or some other value) for each 'environment' so some sort of transformation will be needed.

Thanks

P.S. I may not even choose either of the above two services, they simply provide an example.

  1. Support Staff 1 Posted by Feodor Fitsner on 21 May, 2015 05:08 AM

    Feodor Fitsner's Avatar

    Hi Chris,

    Notifying external services about successful deploy is only possible if you deploy during the build thus you can write PowerShell script calling 3rd-party hooks.

  2. 2 Posted by chris.dunn on 21 May, 2015 08:05 AM

    chris.dunn's Avatar

    Thanks for the reply.

    Just to clarify. What about promoting a green build to an AppVeyor
    Environment? or is it only when deploying from an AppVeyor Project?

    Thanks
    Chris

    *Chris Dunn*
    *Software Architect*

    Tel: 0844 870 0000 (UK calls)
    Monday-Sunday I 24hrs

    +44 (0)121 472 6688 (International calls)
    Monday-Friday I 9am-5.30pm

    TheTicketSellers, 32 Frederick Street, Birmingham, B1 3HH

    Facebook.com/TheTicketSellersUK <http://facebook.com/TheTicketSellersUK>
    Twitter: @TicketSellers <https://twitter.com/#!/TicketSellers>

    Promoting an event? Check out our promoters mini site
    <https://www.theticketsellers.co.uk/promoters/> for information on all the
    services TTS can offer

    This email and any files transmitted with it are confidential and intended
    solely for the use of the individual or entity to whom they are addressed.
    If you have received this email in error please notify us. Please note that
    any views or opinions presented in this email are solely those of the
    author and do not necessarily represent those of the company. Finally, the
    recipient should check this email and any attachments for the presence of
    viruses. TheTicketSellers accept no liability for any damage caused by any
    virus transmitted by this email

  3. Support Staff 3 Posted by Feodor Fitsner on 21 May, 2015 05:01 PM

    Feodor Fitsner's Avatar

    You can use "Environment" deployment provider to kick off deployment on specific environment upon successful build.

    Let me know if I corrected understood your question.

  4. chris.dunn closed this discussion on 11 Jun, 2015 03:23 PM.

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