From 7afe35cb969ecfd59017187ee7b6766b788070ff Mon Sep 17 00:00:00 2001 From: Lukasz Lenart Date: Mon, 11 Feb 2019 09:32:49 +0100 Subject: [PATCH] Adds a Jenkinsfile to allow build this branch as well --- Jenkinsfile | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 Jenkinsfile diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 000000000..f0c8a1ea2 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,29 @@ +#!groovy +pipeline { + agent { + label 'ubuntu' + } + options { + buildDiscarder logRotator(daysToKeepStr: '14', numToKeepStr: '10') + timeout(80) + disableConcurrentBuilds() + } + tools { + jdk 'JDK 1.7 (latest)' + maven 'Maven 3 (latest)' + } + triggers { + pollSCM 'H/15 * * * *' + } + environment { + MAVEN_OPTS = '-Xmx1024m -XX:MaxPermSize=256m' + } + stages { + stage('Build') { + steps { + sh 'mvn --version' + sh 'mvn clean source:jar javadoc:jar install deploy -DskipWiki -Dhttps.protocols=TLSv1,TLSv1.1,TLSv1.2' + } + } + } +}