Skip to content

Commit

Permalink
Adds a Jenkinsfile to allow build this branch as well
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszlenart committed Feb 11, 2019
1 parent fdd1054 commit 7afe35c
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -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'
}
}
}
}

0 comments on commit 7afe35c

Please sign in to comment.