parent
8a82cf319c
commit
5d111f3077
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/mon.git']]
|
||||||
|
])
|
||||||
|
sh './mvnw clean install'
|
||||||
|
junit '**/target/surefire-reports/*.xml'
|
||||||
|
archiveArtifacts '**/target/*.jar'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue