From d7e48227f10db9777908d28e3563355b24ae3aff Mon Sep 17 00:00:00 2001 From: Mark Paluch Date: Fri, 1 Oct 2021 11:13:32 +0200 Subject: [PATCH] Polishing See #9 --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index f978c3d..893b610 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -17,7 +17,7 @@ pipeline { when { beforeAgent(true) anyOf { - branch(pattern: "main|(\\d\\.\\d\\.x)", comparator: "REGEXP") + branch(pattern: "main|(\\d+\\.\\d+\\.x)", comparator: "REGEXP") not { triggeredBy 'UpstreamCause' } } } @@ -45,7 +45,7 @@ pipeline { when { beforeAgent(true) anyOf { - branch(pattern: "main|(\\d\\.\\d\\.x)", comparator: "REGEXP") + branch(pattern: "main|(\\d+\\.\\d+\\.x)", comparator: "REGEXP") not { triggeredBy 'UpstreamCause' } } }