APPVEYOR_REPO_COMMIT does not contain full commit hash

Michal's Avatar

Michal

20 Jun, 2018 08:47 AM

Hello,

for integrating build status with other systems I need full commit hash, which I added as a message using

Add-AppveyorMessage "$env:APPVEYOR_REPO_COMMIT"
This works well on 2 our projects (slugs) but on third one it doesn't actually save the full commit hash
Do you know how can I fix this?

Thanks

  1. Support Staff 1 Posted by Ilya Finkelshte... on 20 Jun, 2018 08:59 AM

    Ilya Finkelshteyn's Avatar

    Can you send links to both "good" and "bad" builds and appveyor.yml for both of them? Use Export YAML menu if you use UI.

  2. Support Staff 2 Posted by Ilya Finkelshte... on 20 Jun, 2018 05:38 PM

    Ilya Finkelshteyn's Avatar

    P.S. You can mark thread private or send info to [email blocked] if you do not feel like sharing your build configuration on public forum.

  3. Ilya Finkelshteyn closed this discussion on 31 Aug, 2018 07:53 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