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

Baldur's Avatar

Baldur

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.

  2. Ilya Finkelshteyn closed this discussion on 06 Nov, 2019 09:01 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