mirror of
https://github.com/graphhopper/jsprit.git
synced 2020-01-24 07:45:05 +01:00
24 lines
561 B
Groovy
24 lines
561 B
Groovy
#!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'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|