Adds a Jenkinsfile to allow build this branch as well

This commit is contained in:
Lukasz Lenart
2019-02-11 09:32:49 +01:00
parent fdd1054070
commit 7afe35cb96
Vendored
+29
View File
@@ -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'
}
}
}
}