Environment Variable to Get last build commit

Kyle LeNeau's Avatar

Kyle LeNeau

18 Feb, 2015 03:34 PM

Is there a way to get the last git sha that was used to make a successful build and deploy? I am trying to write a script for my release notes that pulls the git log between commits and haven't found anything that would represent the last build's git sha.

  1. Support Staff 1 Posted by Feodor Fitsner on 18 Feb, 2015 06:22 PM

    Feodor Fitsner's Avatar

    Hi Kyle,

    You can use AppVeyor REST API: http://www.appveyor.com/docs/api/projects-builds#get-project-history to go through project builds history and find last successful build SHA.

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