You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by bn...@apache.org on 2022/03/24 20:48:38 UTC

[trafficserver-ci] branch main updated: fix in parts check for cache-tests

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 f59d751  fix in parts check for cache-tests
     new 9950dd7  Merge pull request #90 from traeak/cache-tests-fix
f59d751 is described below

commit f59d751bfefd228a257c81a4e9e3e205b704cfcd
Author: Brian Olsen <br...@comcast.com>
AuthorDate: Thu Mar 24 20:48:07 2022 +0000

    fix in parts check for cache-tests
---
 jenkins/branch/cache-tests.pipeline | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/jenkins/branch/cache-tests.pipeline b/jenkins/branch/cache-tests.pipeline
index 524ef91..a13b76c 100644
--- a/jenkins/branch/cache-tests.pipeline
+++ b/jenkins/branch/cache-tests.pipeline
@@ -22,7 +22,7 @@ pipeline {
 				script {
 					if (! env.GITHUB_BRANCH) {
 						def bparts = env.JOB_NAME.split('/')
-						if (1 != bparts.length) {
+						if (2 != bparts.length) {
 							error("Invalid branch name from ${JOB_NAME}")
 						}
 						env.GITHUB_BRANCH = bparts[0]