Skip to content

Commit

Permalink
jenkins file
Browse files Browse the repository at this point in the history
  • Loading branch information
NoXeoZ committed Mar 2, 2020
1 parent c194cd9 commit 9f22a6a
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
pipeline {
agent any

stages {
stage ('Compile Stage') {

steps {
withMaven(maven : 'maven_3_6_3') {
bat 'mvn clean compile'
}
}
}

stage ('Testing Stage') {

steps {
withMaven(maven : 'maven_3_6_3') {
bat 'mvn test'
}
}
}


stage ('Deployment Stage') {
steps {
withMaven(maven : 'maven_3_6_3') {
bat 'mvn deploy'
}
}
}
}
}

0 comments on commit 9f22a6a

Please sign in to comment.