Skip to content

Commit 18afb67

Browse files
committed
fix opennlp version
additional debug messages version with git commit
1 parent 74921df commit 18afb67

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pipeline_config.groovy

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
def APP_NAME = "digator-opennlp"
22
def APP_REPO = "https://github.com/livelace/digator-opennlp.git"
33
def APP_VERSION = "${env.VERSION}-${env.OPENNLP_VERSION}"
4-
def JAR_VERSION = env.VERSION + '-${GIT_COMMIT_SHORT}-' + env.OPENNLP_VERSION
4+
def GIT_VERSION = env.VERSION + '-${GIT_COMMIT_SHORT}-' + env.OPENNLP_VERSION
55

66

77
libraries {
@@ -30,12 +30,12 @@ libraries {
3030
options = "--build-arg OPENNLP_VERSION=${env.OPENNLP_VERSION}"
3131
}
3232
maven {
33-
options = "-Dquarkus.application.version=${JAR_VERSION} -Dquarkus.package.type=uber-jar -Dopennlp.version=${env.OPENNLP_VERSION}"
33+
options = "-Dquarkus.application.version=${GIT_VERSION} -Dquarkus.package.type=uber-jar -Dopennlp.version=${env.OPENNLP_VERSION}"
3434
}
3535
mattermost
3636
nexus {
3737
source = "target/digator-opennlp-1.0-SNAPSHOT-runner.jar"
38-
destination = "dists-internal/${APP_NAME}/digator-opennlp-${JAR_VERSION}.jar"
38+
destination = "dists-internal/${APP_NAME}/digator-opennlp-${APP_VERSION}.jar"
3939
}
4040
sonarqube
4141
utils

0 commit comments

Comments
 (0)