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:39:59 UTC

[logging-pipelines] branch master updated (c32499d -> ef995c8)

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

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


    from c32499d  Split build/test/deploy stages
     new b1e637c  Only deploy snapshots on master and release-2.x branches
     new ef995c8  Only deploy parent pom in master branch

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 log4j/Jenkinsfile  | 7 +++++++
 parent/Jenkinsfile | 3 +++
 2 files changed, 10 insertions(+)


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

Posted by ma...@apache.org.
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'
             }


[logging-pipelines] 01/02: Only deploy snapshots on master and release-2.x branches

Posted by ma...@apache.org.
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 b1e637ca5e62280149b24ac70f60379ac5e844f6
Author: Matt Sicker <bo...@gmail.com>
AuthorDate: Sun Jul 19 16:38:28 2020 -0500

    Only deploy snapshots on master and release-2.x branches
---
 log4j/Jenkinsfile | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/log4j/Jenkinsfile b/log4j/Jenkinsfile
index 58e4f2b..c4db1ff 100644
--- a/log4j/Jenkinsfile
+++ b/log4j/Jenkinsfile
@@ -112,6 +112,13 @@ pipeline {
             }
         }
         stage('Deploy') {
+            // https://www.jenkins.io/doc/book/pipeline/syntax/#when
+            when {
+                anyOf {
+                    branch 'master'
+                    branch 'release-2.x'
+                }
+            }
             steps {
                 sh 'mvn --toolchains toolchains-jenkins-ubuntu.xml -Djenkins deploy'
             }