Add Jenkinsfile

This commit is contained in:
Paul Campbell 2018-02-22 22:37:51 +00:00
parent 91bb2adc0f
commit 69cb93ca1e

20
Jenkinsfile vendored Normal file
View file

@ -0,0 +1,20 @@
pipeline {
agent any
stages {
stage('Build') {
steps {
checkout([
$class: 'GitSCM',
branches: [[name: '**']],
doGenerateSubmoduleConfigurations: false,
extensions: [[$class: 'CleanBeforeCheckout']],
submoduleCfg: [],
userRemoteConfigs: [[credentialsId: 'github-kemitix', url: 'git@github.com:kemitix/conditional.git']]
])
sh './mvnw clean install'
junit '**/target/surefire-reports/*.xml'
archiveArtifacts '**/target/*.jar'
}
}
}
}