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 2021/05/08 20:12:20 UTC
[logging-pipelines] branch master updated: Fix syntax
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
The following commit(s) were added to refs/heads/master by this push:
new a400db9 Fix syntax
a400db9 is described below
commit a400db916a572dd4de811a6a40d49e5cae541e37
Author: Matt Sicker <bo...@gmail.com>
AuthorDate: Sat May 8 15:12:08 2021 -0500
Fix syntax
---
vars/mvn.groovy | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/vars/mvn.groovy b/vars/mvn.groovy
index 14239ba..fce6a17 100644
--- a/vars/mvn.groovy
+++ b/vars/mvn.groovy
@@ -19,13 +19,13 @@ def call(String args) {
String mavenHome = tool 'maven_3_latest'
String javaVersion = '1.8'
boolean useToolchains = false
- if (env.JOB_NAME.startsWith 'Logging/log4j/') {
+ if (env.JOB_NAME.startsWith('Logging/log4j/')) {
if (env.BRANCH_NAME == 'release-2.x' || env.CHANGE_TARGET == 'release-2.x') {
useToolchains = true
} else if (env.BRANCH_NAME == 'master' || env.CHANGE_TARGET == 'master') {
javaVersion = '11'
}
- } else if (env.JOB_NAME.startsWith 'Logging/chainsaw') {
+ } else if (env.JOB_NAME.startsWith('Logging/chainsaw')) {
javaVersion = '9'
}
String javaHome = tool "jdk_${javaVersion}_latest"