mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 23:05:50 +00:00
Create jenkins file
This commit is contained in:
parent
f9424b548a
commit
68f67b1d22
1 changed files with 19 additions and 0 deletions
19
jenkins file
Normal file
19
jenkins file
Normal 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'
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue