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 18:24:05 UTC
[logging-pipelines] branch master updated: Use full job name and
add jdk9 for chainsaw
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 a5a9bba Use full job name and add jdk9 for chainsaw
a5a9bba is described below
commit a5a9bbac0fb75eb332aa15eded4e64beca4b6016
Author: Matt Sicker <bo...@gmail.com>
AuthorDate: Sat May 8 13:23:42 2021 -0500
Use full job name and add jdk9 for chainsaw
---
vars/mvn.groovy | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/vars/mvn.groovy b/vars/mvn.groovy
index fda5bf1..55653a1 100644
--- a/vars/mvn.groovy
+++ b/vars/mvn.groovy
@@ -18,8 +18,10 @@
def call(String args) {
String mavenHome = tool 'maven_3_latest'
String javaVersion = '1.8'
- if (env.JOB_NAME == 'log4j' && env.BRANCH_NAME == 'master') {
+ if (env.JOB_NAME == 'Logging/log4j' && env.BRANCH_NAME == 'master') {
javaVersion = '11'
+ } else if (env.JOB_NAME == 'Logging/chainsaw') {
+ javaVersion = '9'
}
String javaHome = tool "jdk_${javaVersion}_latest"
if (isUnix()) {