This is an automated email from the ASF dual-hosted git repository. rombert pushed a commit to branch feature/intellij in repository https://gitbox.apache.org/repos/asf/sling-ide-tooling.git
The following commit(s) were added to refs/heads/feature/intellij by this push: new 8470164 SLING-5648 - Make Non-Eclipse Module regular Maven Packages 8470164 is described below commit 8470164252535350c8254fe3369fdcc7767fa0e9 Author: Robert Munteanu <romb...@apache.org> AuthorDate: Thu Apr 12 17:15:44 2018 +0300 SLING-5648 - Make Non-Eclipse Module regular Maven Packages Add a Jenkinsfile since there is no single Maven build anymore. --- Jenkinsfile | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..16fb523 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,50 @@ +pipeline { + agent { + label 'ubuntu' + } + + tools { + maven 'Maven 3.3.9' + jdk 'JDK 1.8 (latest)' + } + + stages { + stage ('Build shared code') { + steps { + sh 'mvn -f shared/modules clean install' + junit 'shared/modules/**/surefire-reports/*.xml' + } + } + + stage ('Build shared code P2 repository') { + steps { + sh 'mvn -f shared/p2 clean package' + } + } + + stage ('Build Eclipse plug-ins') { + steps { + sh 'mvn -f eclipse clean verify' + junit 'eclipse/**/surefire-reports/*.xml' + archiveArtifacts artifacts: 'eclipse/**/logs/*.log' + } + } + } + + post { + failure { + mail to: 'd...@sling.apache.org', + subject: "Failed Pipeline: ${currentBuild.fullDisplayName}", + body: "See ${env.BUILD_URL}" + } + + unstable { + mail to: 'd...@sling.apache.org', + subject: "Failed Pipeline: ${currentBuild.fullDisplayName}", + body: "See ${env.BUILD_URL}" + } + + } + +} + -- To stop receiving notification emails like this one, please contact romb...@apache.org.