blob: 7c3f9ff093b251c0e7563921eacb0e81c5bd9909 [file] [log] [blame]
pipeline {
agent none
stages {
stage('Jersey build') {
parallel {
stage('JDK 8 ') {
agent {
label 'centos-7'
}
tools {
jdk 'oracle-jdk8-latest'
maven 'apache-maven-latest'
}
steps {
sh '''
bash ${WORKSPACE}/etc/jenkins/jenkins_build.sh
'''
}
}
stage('JDK 11 ') {
agent {
label 'centos-7'
}
tools {
jdk 'openjdk-jdk11-latest'
maven 'apache-maven-latest'
}
steps {
sh '''
bash ${WORKSPACE}/etc/jenkins/jenkins_build.sh
'''
}
}
stage('JDK 16 ') {
agent {
label 'centos-7'
}
tools {
jdk 'openjdk-jdk16-latest'
maven 'apache-maven-latest'
}
steps {
sh '''
bash ${WORKSPACE}/etc/jenkins/jenkins_build.sh
'''
}
}
}
}
}
}