mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-06-06 05:55:39 +00:00
Fixing regex
This commit is contained in:
2
qetest/Jenkinsfile
vendored
2
qetest/Jenkinsfile
vendored
@@ -5,7 +5,7 @@ def rocmnode(name) {
|
||||
// Given a pattern, check if the log contains the pattern.
|
||||
def checkForPattern(pattern, log) {
|
||||
// Regex check for a match in the log.
|
||||
if (log ==~ pattern) {
|
||||
if (log =~ pattern) {
|
||||
echo "Found match in log for ${pattern}"
|
||||
return true;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user