Validate the bug ID format in Kokoro presubmit
Previously any line starting with Bug: was accepted.
This change restricts it to Buganizer and Monorail bugs of the form:
Bug: b/141892461
Bug: swiftshader:123
Note nothing else is accepted before or after this match (including
whitespace). Multiple bug references must go on separate lines.
This ensures the bug ID is recognized correctly by Buganizer,
Monorail, and Gerrit tools that parse them out.
Bug: b/141892461
Change-Id: I910b18eba1a2bb473f2713c088c408cb31867487
Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/39910
Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
Reviewed-by:
Ben Clayton <bclayton@google.com>
Reviewed-by:
Chris Forbes <chrisforbes@google.com>
Reviewed-by:
Antonio Maiorano <amaiorano@google.com>
Tested-by:
Nicolas Capens <nicolascapens@google.com>
Showing
Please
register
or
sign in
to comment