This is an automated email from the ASF dual-hosted git repository.
lukaszlenart pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/struts.git
The following commit(s) were added to refs/heads/master by this push:
new a37f072 Adds example Jenkinsfile
a37f072 is described below
commit a37f0725accba77541ef3febc41a0a5ff907d2fa
Author: Lukasz Lenart <[email protected]>
AuthorDate: Mon Dec 17 10:48:39 2018 +0100
Adds example Jenkinsfile
---
Jenkinsfile | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/Jenkinsfile b/Jenkinsfile
new file mode 100644
index 0000000..0b5ebcc
--- /dev/null
+++ b/Jenkinsfile
@@ -0,0 +1,30 @@
+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 * * * *'
+ }
+
+ stages {
+ stage('Build') {
+ steps {
+ sh 'mvn --version'
+ sh 'mvn clean source:jar javadoc:jar install deploy -DskipWiki
-Dhttps.protocols=TLSv1,TLSv1.1,TLSv1.2'
+ }
+ }
+ }
+}