You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gora.apache.org by dr...@apache.org on 2021/04/03 19:42:38 UTC

[gora] branch master updated: Use release profile defined in project pom.xml

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

drazzib pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/gora.git


The following commit(s) were added to refs/heads/master by this push:
     new 20220c0  Use release profile defined in project pom.xml
20220c0 is described below

commit 20220c0dd9a7de4903f8d5786b53ef330bd3ab3b
Author: Damien Raude-Morvan <da...@verteego.com>
AuthorDate: Sat Apr 3 21:42:24 2021 +0200

    Use release profile defined in project pom.xml
---
 Jenkinsfile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 0f87c5c..9c8bd3f 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -96,7 +96,8 @@ pipeline {
                 branch 'master'
             }
             steps {
-                sh "mvn $MAVEN_CLI_OPTS -P deploy-snapshots -DskipTests deploy"
+                // Use release profile defined in project pom.xml
+                sh "mvn $MAVEN_CLI_OPTS --activate-profiles release -DskipTests deploy"
             }
         }
     }