1
0
Fork 0
mirror of https://github.com/graphhopper/jsprit.git synced 2020-01-24 07:45:05 +01:00

DO-51 Jenkins CI (#48)

* DO-51 Jenkins CI
* DO-51 refactor
This commit is contained in:
Elad Dolev 2018-05-02 15:36:46 +03:00 committed by GitHub
parent 8fa3c81983
commit 6f2baa3178
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 44 additions and 0 deletions

24
Jenkinsfile vendored Normal file
View file

@ -0,0 +1,24 @@
#!groovy
pipeline {
agent {
docker { image 'maven:3.5.3-jdk-10-slim' }
}
stages {
stage('Test') {
environment {
CODECOV_TOKEN = '5b1293bb-5536-4f60-bfa3-93b4d15eefeb'
}
steps {
sh 'mvn test'
}
post {
always {
junit(testResults: '**/target/surefire-reports/*.xml', allowEmptyResults: true)
sh 'curl -s https://codecov.io/bash | bash'
}
}
}
}
}