enforce short SHAs throughout build pipeline

This commit is contained in:
Jimmy Zelinskie 2015-04-22 13:22:04 -04:00
parent 133ed7190e
commit 9703850e8f
5 changed files with 21 additions and 5 deletions

View file

@ -565,7 +565,7 @@ class CustomBuildTrigger(BuildTrigger):
'commit': {
'type': 'string',
'description': 'first 7 characters of the SHA-1 identifier for a git commit',
'pattern': '^(\w{7})$',
'pattern': '^([A-Fa-f0-9]{7})$',
},
'ref': {
'type': 'string',