Merge pull request #10 from kemitix/jenkins

Add Jenkinsfile
This commit is contained in:
Paul Campbell 2018-02-23 07:27:06 +00:00 committed by GitHub
commit 701dd0f73d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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'
}
}
}
}