add jenkins file

This commit is contained in:
Alec Adub 2020-03-15 23:12:26 -04:00
parent 5c35771a20
commit 2193efb2b8

29
JenkinsFile Normal file
View file

@ -0,0 +1,29 @@
pipeline {
agent any
stages {
stage('Build') {
steps {
sh './mvnw clean install'
}
}
stage('Test') {
steps {
sh './mvnw test'
}
}
stage('Package') {
steps {
sh './mvnw package'
}
}
stage('Deploy') {
steps {
sh './mvnw deploy -DaltDeploymentRepository=internal.repo::default::file:///C:/Users/wmike/Desktop/Jenkins'
slackSend(color: 'good', message: "Build Succeeded")
}
}
}
}