This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-whiteboard.git


The following commit(s) were added to refs/heads/master by this push:
     new 3c40ffe  SLING-7245 - Validate pull requests using Jenkins
3c40ffe is described below

commit 3c40ffe5f8a76ab000e7acf5671fd10e0a5a6d9d
Author: Robert Munteanu <[email protected]>
AuthorDate: Mon Dec 17 23:53:29 2018 +0100

    SLING-7245 - Validate pull requests using Jenkins
    
    Activate pipeline build for whiteboard, to allow experimentation based on
    pull requests.
---
 .sling-module.xml |  2 +-
 Jenkinsfile       | 20 ++++++++++++++++++++
 2 files changed, 21 insertions(+), 1 deletion(-)

diff --git a/.sling-module.xml b/.sling-module.xml
index 452f6a6..9a7f913 100644
--- a/.sling-module.xml
+++ b/.sling-module.xml
@@ -19,6 +19,6 @@
 -->
 <sling-module>
     <jenkins>
-        <enabled>false</enabled>
+        <enabled>true</enabled>
     </jenkins>
 </sling-module>
diff --git a/Jenkinsfile b/Jenkinsfile
new file mode 100644
index 0000000..38426cc
--- /dev/null
+++ b/Jenkinsfile
@@ -0,0 +1,20 @@
+pipeline {
+    agent {
+        label 'ubuntu'
+    }
+
+    tools {
+        maven 'Maven 3.3.9'
+        jdk 'JDK 1.8 (latest)'
+    }
+
+    stages {
+        stage ('Build') {
+            steps {
+                dir('mdresourceprovider') {
+                    sh 'mvn clean install' 
+                }
+            }
+        }
+    }
+}
\ No newline at end of file

Reply via email to