Custom pre/post build events

hugh_gleaves's Avatar

hugh_gleaves

21 Sep, 2017 04:43 PM

I emailed the team but also wanted to ask about this here too.

I'm new to automated builds (but otherwise a very experienced engineer/developer). I'm evaluating AppVeyor to see if it can meet our needs. One thing has come up, we build locally just now (each developer builds and deploys as required - yes it suck's hence this AppVeyor evaluation) and most of our VS projects (ASP.NET apps/rest, console apps, component assemblies) use a pre/post build event in order to leverage NetRevisionTool.

https://github.com/ygoe/NetRevisionTool

This gives us what we call a "buildstamp" - almost every generated assembly has one and it contains:

Build machine name
Commit ID
Repname . Branchname
Owner of commit (usually Gihub after a merge, but might be a developer name)

etc etc

We don't need all of this if we move to a build server (e.g. Build machine name is used to identify who built in, this is immaterial once we move to a managed build system) but we would like the ability to somehow define the tool's location (a .net console .exe) as well as continue to have the pre/post build events specified in Visual Studio run these events.

These events currently refer to a shared folder where we have hosted the NetRevisionTool.exe

Is any of this possible?

Thx

  1. 1 Posted by Ilya Finkelshte... on 21 Sep, 2017 04:54 PM

    Ilya Finkelshteyn's Avatar

    Answered by email

  2. Ilya Finkelshteyn closed this discussion on 21 Sep, 2017 04:54 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