Add Jenkinsfile
This commit is contained in:
parent
91bb2adc0f
commit
69cb93ca1e
1 changed files with 20 additions and 0 deletions
20
Jenkinsfile
vendored
Normal file
20
Jenkinsfile
vendored
Normal 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'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue