Add Jenkinsfile

This commit is contained in:
Makram Adaime 2020-03-10 08:18:19 -04:00 committed by GitHub
parent 5c35771a20
commit 6bc276f7d6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

40
Jenkinsfile vendored Normal file
View file

@ -0,0 +1,40 @@
pipeline {
agent any
environment {
PATH = "C:\\WINDOWS\\SYSTEM32"
}
stages {
stage('Build') {
steps {
echo "Building..."
bat "./mvnw clean"
bat "./mvnw compile"
}
}
stage ('Test') {
steps {
echo "Testing..."
bat "./mvnw test"
}
}
stage('Package') {
steps {
echo "Packaging..."
bat "./mvnw package"
}
}
stage('Deploy') {
steps {
echo "Deploying..."
echo "./mvnw deploy with distributionManagement set in pom.xml"
}
}
}
}