You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by kw...@apache.org on 2024/09/13 09:30:42 UTC

(jackrabbit-filevault-jenkins-lib) branch master updated: Add missing argument to isOnMainBranch

This is an automated email from the ASF dual-hosted git repository.

kwin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jackrabbit-filevault-jenkins-lib.git


The following commit(s) were added to refs/heads/master by this push:
     new 55a3ca4  Add missing argument to isOnMainBranch
55a3ca4 is described below

commit 55a3ca431b2da05e125e0a924de48d75cb068aed
Author: Konrad Windszus <kw...@apache.org>
AuthorDate: Fri Sep 13 11:30:36 2024 +0200

    Add missing argument to isOnMainBranch
---
 vars/vaultStageDeploy.groovy | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vars/vaultStageDeploy.groovy b/vars/vaultStageDeploy.groovy
index 551f1ef..187c6ef 100644
--- a/vars/vaultStageDeploy.groovy
+++ b/vars/vaultStageDeploy.groovy
@@ -42,7 +42,7 @@ def deployStage(final PipelineSupport pipelineSupport) {
 
 def call() {
     PipelineSupport pipelineSupport = PipelineSupport.getInstance()
-    if (pipelineSupport.isOnMainBranch) {
+    if (pipelineSupport.isOnMainBranch(env.BRANCH_NAME))) {
         deployStage(pipelineSupport)
     }
 }
\ No newline at end of file