Can set Update-AppveyorBuild -CommitId as 40 chars but {{commitId}} is truncated

Baldur's Avatar


06 Sep, 2019 11:13 AM

As the title says it is possible to put a new 40 character commitId SHA in the APPVEYOR_REPO_COMMIT using ps. Printing this with "ps: Write-Host $env:APPVEYOR_REPO_COMMIT " also shows the 40 characters. However using {{commitId}} in a template returns only a truncated 10 character version. Is it possible to get all 40 characters in the mustache template?

  1. Support Staff 1 Posted by Owen McDonnell on 06 Sep, 2019 04:14 PM

    Owen McDonnell's Avatar

    Yes it is truncated in the notification content, but you could add it as a custom value to the notification.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? 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