pipeline {
agent any
tools {
maven 'maven 3.8.4'
jdk 'OpenJDK-11'
}
stages {
stage('Build') {
steps {
echo 'Building..'
sh 'mvn clean package'
stage('Test') {
echo 'Testing..'
stage('Deploy') {
echo 'Deploying....'