21 lines
676 B
Text
21 lines
676 B
Text
|
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'
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|