Skip to content

Commit

Permalink
CI env for Jenkins (eclipse-ee4j#4820)
Browse files Browse the repository at this point in the history
Signed-off-by: Maxim Nesen <maxim.nesen@oracle.com>
  • Loading branch information
senivam committed Jul 2, 2021
1 parent 9fc5390 commit cb52575
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
12 changes: 9 additions & 3 deletions etc/jenkins/Jenkinsfile_ci_build
Expand Up @@ -5,7 +5,9 @@ pipeline {
stage('Jersey build') {
parallel {
stage('JDK 8 ') {
agent any
agent {
label 'centos-7'
}
tools {
jdk 'oracle-jdk8-latest'
maven 'apache-maven-latest'
Expand All @@ -17,7 +19,9 @@ pipeline {
}
}
stage('JDK 11 ') {
agent any
agent {
label 'centos-7'
}
tools {
jdk 'openjdk-jdk11-latest'
maven 'apache-maven-latest'
Expand All @@ -29,7 +33,9 @@ pipeline {
}
}
stage('JDK 16 ') {
agent any
agent {
label 'centos-7'
}
tools {
jdk 'openjdk-jdk16-latest'
maven 'apache-maven-latest'
Expand Down
4 changes: 3 additions & 1 deletion etc/jenkins/jenkins_build.sh
@@ -1,3 +1,5 @@
#!/bin/bash -xe

mvn -V -U -B clean install glassfish-copyright:check -Dcopyright.quiet=false -Dsurefire.systemPropertiesFile=${WORKSPACE}/etc/jenkins/systemPropertiesFile
export DEBUG=true

mvn -V -U -B -e clean install glassfish-copyright:check -Dcopyright.quiet=false -Dsurefire.systemPropertiesFile=${WORKSPACE}/etc/jenkins/systemPropertiesFile

0 comments on commit cb52575

Please sign in to comment.