You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hop.apache.org by ha...@apache.org on 2020/12/29 11:21:36 UTC
[incubator-hop] branch docker-implementation updated: HOP-2287
This is an automated email from the ASF dual-hosted git repository.
hansva pushed a commit to branch docker-implementation
in repository https://gitbox.apache.org/repos/asf/incubator-hop.git
The following commit(s) were added to refs/heads/docker-implementation by this push:
new c134f27 HOP-2287
c134f27 is described below
commit c134f27f2b59fd3979d7606b0038801c8dbadd64
Author: Hans Van Akelyen <ha...@gmail.com>
AuthorDate: Tue Dec 29 12:21:22 2020 +0100
HOP-2287
get pom verison
---
Jenkinsfile | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 3c7dc53..97593a1 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -38,7 +38,6 @@ pipeline {
MAVEN_SKIP_RC = true
BRANCH_NAME ='docker-implementation'
DOCKER_REPO='docker.io/apache/incubator-hop'
-
}
options {
@@ -81,6 +80,12 @@ pipeline {
build job: 'Hop/Hop-Documentation/asf-site', wait: false
}
}
+ stage('Get POM Version') {
+ steps{
+ POM_VERSION=`mvn help:evaluate -Dexpression=project.version | sed -n -e '/^\[.*\]/ !{ /^[0-9]/ { p; q } }'`
+ echo "The version fo the pom is: ${POM_VERSION}"
+ }
+ }
stage('Test & Build') {
when {
branch 'master'