Create jenkins file

This commit is contained in:
maheshunicorn 2019-12-31 12:10:19 +05:30 committed by GitHub
parent f9424b548a
commit 68f67b1d22
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

19
jenkins file Normal file
View file

@ -0,0 +1,19 @@
node('MAVEN')
{
stage('SCM')
{
//some block
git 'https://github.com/spring-projects/spring-petclinic.git'
}
stage('BUILD')
{
sh label: '',scrript: 'mvn package'
}
stage('Test Results and Package')
{
archive 'target/*.jar'
junit 'target/surefire-reports/*.xml'
}
}