From 69cb93ca1e5563c63f9c6ee99e941a0c5892319b Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Thu, 22 Feb 2018 22:37:51 +0000 Subject: [PATCH] Add Jenkinsfile --- Jenkinsfile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Jenkinsfile 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' + } + } + } +}