From cc5784031b9227e8e6a199761ecdf5168c86933e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Fri, 23 Jun 2023 11:48:09 +0200 Subject: [PATCH] ci: fix negative conditional for devel deployment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jakub SokoĊ‚owski --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index e859610..3084d5c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -43,7 +43,7 @@ pipeline { } stage('Publish Devel') { - when { expression { env.GIT_BRANCH !=~ /.*master/ } } + when { expression { !(env.GIT_BRANCH ==~ /.*master/) } } steps { sshagent(credentials: ['jenkins-ssh']) { sh """