created Jenkinsfile with Maven Install Stage

This commit is contained in:
nareshcloud 2023-04-08 22:14:17 -04:00
parent d2a6f965ca
commit a7c0221188

16
Jenkinsfile vendored Normal file
View file

@ -0,0 +1,16 @@
#!groovy
pipeline {
agent none
stages {
stage('Maven Install') {
agent {
docker {
image 'maven:3.5.0'
}
}
steps {
sh 'mvn clean install'
}
}
}
}