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

Recent Discussions

18 Jun, 2025 08:45 PM
18 Jun, 2025 04:23 PM
13 Jun, 2025 04:36 PM
13 Jun, 2025 04:27 PM
13 Jun, 2025 07:20 AM

 

10 Jun, 2025 01:56 AM
09 Jun, 2025 07:11 PM
04 Jun, 2025 04:08 PM
27 May, 2025 05:48 PM
27 May, 2025 06:37 AM
27 May, 2025 06:31 AM