This is an automated email from the ASF dual-hosted git repository.
bnolsen pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/trafficserver-ci.git
The following commit(s) were added to refs/heads/main by this push:
new ee35d31 remove call to split for regex (#359)
ee35d31 is described below
commit ee35d310ec4f377069626a5448c0f9259fe90a6b
Author: Brian Olsen <[email protected]>
AuthorDate: Tue Nov 19 14:13:17 2024 -0700
remove call to split for regex (#359)
---
jenkins/github/github_polling.pipeline | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/jenkins/github/github_polling.pipeline
b/jenkins/github/github_polling.pipeline
index 3cdccb7..0336aa6 100644
--- a/jenkins/github/github_polling.pipeline
+++ b/jenkins/github/github_polling.pipeline
@@ -245,7 +245,7 @@ pipeline {
if (env.AUTEST_SHARDS) {
def nshards =
env.AUTEST_SHARDS as int
- if ((mg =
GITHUB_PR_COMMENT_BODY_MATCH.split =~ /autest\W+(\d+)/)) {
+ if ((mg =
GITHUB_PR_COMMENT_BODY_MATCH =~ /autest\W+(\d+)/)) {
def
index = mg.group(1) as int
if (0
<= index && index < nshards) {
String shard = index + "of" + env.AUTEST_SHARDS