diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..2d06154 --- /dev/null +++ b/Jenkinsfile @@ -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' + } + } + } +}