blob: 59af68b669c9d92f1efcf1bdcd589e099ed02f5c [file] [log] [blame]
pipeline {
agent none
stages {
stage('Jersey build') {
parallel {
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 17 ') {
agent {
label 'centos-7'
}
tools {
jdk 'openjdk-jdk17-latest'
maven 'apache-maven-latest'
}
steps {
sh '''
bash ${WORKSPACE}/etc/jenkins/jenkins_build.sh
'''
}
}
}
}
}
}