You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by ma...@apache.org on 2020/07/19 21:40:01 UTC

[logging-pipelines] 02/02: Only deploy parent pom in master branch

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

mattsicker pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/logging-pipelines.git

commit ef995c867d434e4d9e71fcc89765ff34dc03a244
Author: Matt Sicker <bo...@gmail.com>
AuthorDate: Sun Jul 19 16:39:38 2020 -0500

    Only deploy parent pom in master branch
---
 parent/Jenkinsfile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/parent/Jenkinsfile b/parent/Jenkinsfile
index 626bc09..460d237 100644
--- a/parent/Jenkinsfile
+++ b/parent/Jenkinsfile
@@ -37,6 +37,9 @@ pipeline {
     }
     stages {
         stage('Deploy') {
+            when {
+                branch 'master'
+            }
             steps {
                 sh 'mvn deploy'
             }