diff --git a/Jenkinsfile b/Jenkinsfile index 23d79bf..47afe3a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -105,7 +105,7 @@ if ([string]::IsNullOrWhiteSpace($commitMsg)) { exit 0 } -$match = [regex]::Match($commitMsg, 'TG-(\d+)') +$match = [regex]::Match($commitMsg, 'TG-(\\d+)') if (-not $match.Success) { Write-Host "No TG-* reference found"