maven-resolver git commit: Add a Jenkinsfile [Forced Update!]

2017-01-15 Thread stephenc
Repository: maven-resolver
Updated Branches:
  refs/heads/MNG-6007 1d6e0549a -> c190f7b16 (forced update)


Add a Jenkinsfile


Project: http://git-wip-us.apache.org/repos/asf/maven-resolver/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven-resolver/commit/c190f7b1
Tree: http://git-wip-us.apache.org/repos/asf/maven-resolver/tree/c190f7b1
Diff: http://git-wip-us.apache.org/repos/asf/maven-resolver/diff/c190f7b1

Branch: refs/heads/MNG-6007
Commit: c190f7b1603f39691c7c09a3169180bf0120454d
Parents: 8bd8c53
Author: Stephen Connolly 
Authored: Sun Jan 15 20:23:22 2017 +
Committer: Stephen Connolly 
Committed: Sun Jan 15 20:37:51 2017 +

--
 Jenkinsfile | 45 +
 1 file changed, 45 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/maven-resolver/blob/c190f7b1/Jenkinsfile
--
diff --git a/Jenkinsfile b/Jenkinsfile
new file mode 100644
index 000..50121ac
--- /dev/null
+++ b/Jenkinsfile
@@ -0,0 +1,45 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+properties([buildDiscarder(logRotator(artifactNumToKeepStr: '5', numToKeepStr: 
env.BRANCH_NAME=='master'?'10':'5'))])
+
+try {
+node('ubuntu') {
+stage 'Checkout'
+def MAVEN_BUILD=tool name: 'Maven 3.3.9', type: 
'hudson.tasks.Maven$MavenInstallation'
+echo "Driving build and unit tests using Maven $MAVEN_BUILD"
+def JAVA7_HOME=tool name: 'JDK 1.7 (latest)', type: 'hudson.model.JDK'
+echo "Running build and unit tests with Java $JAVA7_HOME"
+dir('build') {
+checkout scm
+def WORK_DIR=pwd()
+stage 'Build / Unit Test'
+withEnv(["PATH+MAVEN=$MAVEN_BUILD/bin","PATH+JDK=$JAVA7_HOME/bin"]) {
+sh "mvn clean verify -B -U -e -fae -V 
-Dmaven.test.failure.ignore=true -Dmaven.repo.local=$WORK_DIR/.repository"
+}
+junit allowEmptyResults: true, testResults:'**/target/*-reports/*.xml'
+}
+}
+
+} finally {}
+node('ubuntu') {
+emailext body: "See ${env.BUILD_URL}", recipientProviders: [[$class: 
'CulpritsRecipientProvider'], [$class: 'FailingTestSuspectsRecipientProvider'], 
[$class: 'FirstFailingBuildSuspectsRecipientProvider']], replyTo: 
'd...@maven.apache.org', subject: "Maven Resolver Jenkinsfile finished with 
${currentBuild.result}", to: 'notificati...@maven.apache.org'
+}
+}
+



maven-resolver git commit: Add a Jenkinsfile [Forced Update!]

2017-01-15 Thread stephenc
Repository: maven-resolver
Updated Branches:
  refs/heads/MNG-6007 3dd571219 -> 1d6e0549a (forced update)


Add a Jenkinsfile


Project: http://git-wip-us.apache.org/repos/asf/maven-resolver/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven-resolver/commit/1d6e0549
Tree: http://git-wip-us.apache.org/repos/asf/maven-resolver/tree/1d6e0549
Diff: http://git-wip-us.apache.org/repos/asf/maven-resolver/diff/1d6e0549

Branch: refs/heads/MNG-6007
Commit: 1d6e0549a3fdf2a9129e539e3b5b97ac5285f4a3
Parents: 8bd8c53
Author: Stephen Connolly 
Authored: Sun Jan 15 20:23:22 2017 +
Committer: Stephen Connolly 
Committed: Sun Jan 15 20:36:05 2017 +

--
 Jenkinsfile | 45 +
 1 file changed, 45 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/maven-resolver/blob/1d6e0549/Jenkinsfile
--
diff --git a/Jenkinsfile b/Jenkinsfile
new file mode 100644
index 000..50121ac
--- /dev/null
+++ b/Jenkinsfile
@@ -0,0 +1,45 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+properties([buildDiscarder(logRotator(artifactNumToKeepStr: '5', numToKeepStr: 
env.BRANCH_NAME=='master'?'10':'5'))])
+
+try {
+node('ubuntu') {
+stage 'Checkout'
+def MAVEN_BUILD=tool name: 'Maven 3.3.9', type: 
'hudson.tasks.Maven$MavenInstallation'
+echo "Driving build and unit tests using Maven $MAVEN_BUILD"
+def JAVA7_HOME=tool name: 'JDK 1.7 (latest)', type: 'hudson.model.JDK'
+echo "Running build and unit tests with Java $JAVA7_HOME"
+dir('build') {
+checkout scm
+def WORK_DIR=pwd()
+stage 'Build / Unit Test'
+withEnv(["PATH+MAVEN=$MAVEN_BUILD/bin","PATH+JDK=$JAVA7_HOME/bin"]) {
+sh "mvn clean verify -B -U -e -fae -V 
-Dmaven.test.failure.ignore=true -Dmaven.repo.local=$WORK_DIR/.repository"
+}
+junit allowEmptyResults: true, testResults:'**/target/*-reports/*.xml'
+}
+}
+
+} finally {}
+node('ubuntu') {
+emailext body: "See ${env.BUILD_URL}", recipientProviders: [[$class: 
'CulpritsRecipientProvider'], [$class: 'FailingTestSuspectsRecipientProvider'], 
[$class: 'FirstFailingBuildSuspectsRecipientProvider']], replyTo: 
'd...@maven.apache.org', subject: "Maven Resolver Jenkinsfile finished with 
${currentBuild.result}", to: 'notificati...@maven.apache.org'
+}
+}
+



maven-resolver git commit: Add a Jenkinsfile [Forced Update!]

2017-01-15 Thread stephenc
Repository: maven-resolver
Updated Branches:
  refs/heads/MNG-6007 5b0befa07 -> 3dd571219 (forced update)


Add a Jenkinsfile


Project: http://git-wip-us.apache.org/repos/asf/maven-resolver/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven-resolver/commit/3dd57121
Tree: http://git-wip-us.apache.org/repos/asf/maven-resolver/tree/3dd57121
Diff: http://git-wip-us.apache.org/repos/asf/maven-resolver/diff/3dd57121

Branch: refs/heads/MNG-6007
Commit: 3dd571219d8e1d49de0c8555309db63f447787a2
Parents: 8bd8c53
Author: Stephen Connolly 
Authored: Sun Jan 15 20:23:22 2017 +
Committer: Stephen Connolly 
Committed: Sun Jan 15 20:34:19 2017 +

--
 Jenkinsfile | 45 +
 1 file changed, 45 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/maven-resolver/blob/3dd57121/Jenkinsfile
--
diff --git a/Jenkinsfile b/Jenkinsfile
new file mode 100644
index 000..50121ac
--- /dev/null
+++ b/Jenkinsfile
@@ -0,0 +1,45 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+properties([buildDiscarder(logRotator(artifactNumToKeepStr: '5', numToKeepStr: 
env.BRANCH_NAME=='master'?'10':'5'))])
+
+try {
+node('ubuntu') {
+stage 'Checkout'
+def MAVEN_BUILD=tool name: 'Maven 3.3.9', type: 
'hudson.tasks.Maven$MavenInstallation'
+echo "Driving build and unit tests using Maven $MAVEN_BUILD"
+def JAVA7_HOME=tool name: 'JDK 1.7 (latest)', type: 'hudson.model.JDK'
+echo "Running build and unit tests with Java $JAVA7_HOME"
+dir('build') {
+checkout scm
+def WORK_DIR=pwd()
+stage 'Build / Unit Test'
+withEnv(["PATH+MAVEN=$MAVEN_BUILD/bin","PATH+JDK=$JAVA7_HOME/bin"]) {
+sh "mvn clean verify -B -U -e -fae -V 
-Dmaven.test.failure.ignore=true -Dmaven.repo.local=$WORK_DIR/.repository"
+}
+junit allowEmptyResults: true, testResults:'**/target/*-reports/*.xml'
+}
+}
+
+} finally {}
+node('ubuntu') {
+emailext body: "See ${env.BUILD_URL}", recipientProviders: [[$class: 
'CulpritsRecipientProvider'], [$class: 'FailingTestSuspectsRecipientProvider'], 
[$class: 'FirstFailingBuildSuspectsRecipientProvider']], replyTo: 
'd...@maven.apache.org', subject: "Maven Resolver Jenkinsfile finished with 
${currentBuild.result}", to: 'notificati...@maven.apache.org'
+}
+}
+



maven-resolver git commit: Add a Jenkinsfile [Forced Update!]

2017-01-15 Thread stephenc
Repository: maven-resolver
Updated Branches:
  refs/heads/MNG-6007 81ce0c1f3 -> 5b0befa07 (forced update)


Add a Jenkinsfile


Project: http://git-wip-us.apache.org/repos/asf/maven-resolver/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven-resolver/commit/5b0befa0
Tree: http://git-wip-us.apache.org/repos/asf/maven-resolver/tree/5b0befa0
Diff: http://git-wip-us.apache.org/repos/asf/maven-resolver/diff/5b0befa0

Branch: refs/heads/MNG-6007
Commit: 5b0befa07da5552f43255dbeb5742479bf300b14
Parents: 8bd8c53
Author: Stephen Connolly 
Authored: Sun Jan 15 20:23:22 2017 +
Committer: Stephen Connolly 
Committed: Sun Jan 15 20:33:21 2017 +

--
 Jenkinsfile | 45 +
 1 file changed, 45 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/maven-resolver/blob/5b0befa0/Jenkinsfile
--
diff --git a/Jenkinsfile b/Jenkinsfile
new file mode 100644
index 000..50121ac
--- /dev/null
+++ b/Jenkinsfile
@@ -0,0 +1,45 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+properties([buildDiscarder(logRotator(artifactNumToKeepStr: '5', numToKeepStr: 
env.BRANCH_NAME=='master'?'10':'5'))])
+
+try {
+node('ubuntu') {
+stage 'Checkout'
+def MAVEN_BUILD=tool name: 'Maven 3.3.9', type: 
'hudson.tasks.Maven$MavenInstallation'
+echo "Driving build and unit tests using Maven $MAVEN_BUILD"
+def JAVA7_HOME=tool name: 'JDK 1.7 (latest)', type: 'hudson.model.JDK'
+echo "Running build and unit tests with Java $JAVA7_HOME"
+dir('build') {
+checkout scm
+def WORK_DIR=pwd()
+stage 'Build / Unit Test'
+withEnv(["PATH+MAVEN=$MAVEN_BUILD/bin","PATH+JDK=$JAVA7_HOME/bin"]) {
+sh "mvn clean verify -B -U -e -fae -V 
-Dmaven.test.failure.ignore=true -Dmaven.repo.local=$WORK_DIR/.repository"
+}
+junit allowEmptyResults: true, testResults:'**/target/*-reports/*.xml'
+}
+}
+
+} finally {}
+node('ubuntu') {
+emailext body: "See ${env.BUILD_URL}", recipientProviders: [[$class: 
'CulpritsRecipientProvider'], [$class: 'FailingTestSuspectsRecipientProvider'], 
[$class: 'FirstFailingBuildSuspectsRecipientProvider']], replyTo: 
'd...@maven.apache.org', subject: "Maven Resolver Jenkinsfile finished with 
${currentBuild.result}", to: 'notificati...@maven.apache.org'
+}
+}
+



maven-resolver git commit: Add a Jenkinsfile [Forced Update!]

2017-01-15 Thread stephenc
Repository: maven-resolver
Updated Branches:
  refs/heads/MNG-6007 1e9e2c86a -> 81ce0c1f3 (forced update)


Add a Jenkinsfile


Project: http://git-wip-us.apache.org/repos/asf/maven-resolver/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven-resolver/commit/81ce0c1f
Tree: http://git-wip-us.apache.org/repos/asf/maven-resolver/tree/81ce0c1f
Diff: http://git-wip-us.apache.org/repos/asf/maven-resolver/diff/81ce0c1f

Branch: refs/heads/MNG-6007
Commit: 81ce0c1f32238d1ac654aad32e70eada645987b5
Parents: 8bd8c53
Author: Stephen Connolly 
Authored: Sun Jan 15 20:23:22 2017 +
Committer: Stephen Connolly 
Committed: Sun Jan 15 20:32:23 2017 +

--
 Jenkinsfile | 45 +
 1 file changed, 45 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/maven-resolver/blob/81ce0c1f/Jenkinsfile
--
diff --git a/Jenkinsfile b/Jenkinsfile
new file mode 100644
index 000..50121ac
--- /dev/null
+++ b/Jenkinsfile
@@ -0,0 +1,45 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+properties([buildDiscarder(logRotator(artifactNumToKeepStr: '5', numToKeepStr: 
env.BRANCH_NAME=='master'?'10':'5'))])
+
+try {
+node('ubuntu') {
+stage 'Checkout'
+def MAVEN_BUILD=tool name: 'Maven 3.3.9', type: 
'hudson.tasks.Maven$MavenInstallation'
+echo "Driving build and unit tests using Maven $MAVEN_BUILD"
+def JAVA7_HOME=tool name: 'JDK 1.7 (latest)', type: 'hudson.model.JDK'
+echo "Running build and unit tests with Java $JAVA7_HOME"
+dir('build') {
+checkout scm
+def WORK_DIR=pwd()
+stage 'Build / Unit Test'
+withEnv(["PATH+MAVEN=$MAVEN_BUILD/bin","PATH+JDK=$JAVA7_HOME/bin"]) {
+sh "mvn clean verify -B -U -e -fae -V 
-Dmaven.test.failure.ignore=true -Dmaven.repo.local=$WORK_DIR/.repository"
+}
+junit allowEmptyResults: true, testResults:'**/target/*-reports/*.xml'
+}
+}
+
+} finally {}
+node('ubuntu') {
+emailext body: "See ${env.BUILD_URL}", recipientProviders: [[$class: 
'CulpritsRecipientProvider'], [$class: 'FailingTestSuspectsRecipientProvider'], 
[$class: 'FirstFailingBuildSuspectsRecipientProvider']], replyTo: 
'd...@maven.apache.org', subject: "Maven Resolver Jenkinsfile finished with 
${currentBuild.result}", to: 'notificati...@maven.apache.org'
+}
+}
+



maven-resolver git commit: Add a Jenkinsfile [Forced Update!]

2017-01-15 Thread stephenc
Repository: maven-resolver
Updated Branches:
  refs/heads/MNG-6007 eda9fc018 -> 1e9e2c86a (forced update)


Add a Jenkinsfile


Project: http://git-wip-us.apache.org/repos/asf/maven-resolver/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven-resolver/commit/1e9e2c86
Tree: http://git-wip-us.apache.org/repos/asf/maven-resolver/tree/1e9e2c86
Diff: http://git-wip-us.apache.org/repos/asf/maven-resolver/diff/1e9e2c86

Branch: refs/heads/MNG-6007
Commit: 1e9e2c86a1331797e8f905a6f8cfdbb38d7e49f0
Parents: 8bd8c53
Author: Stephen Connolly 
Authored: Sun Jan 15 20:23:22 2017 +
Committer: Stephen Connolly 
Committed: Sun Jan 15 20:30:49 2017 +

--
 Jenkinsfile | 45 +
 1 file changed, 45 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/maven-resolver/blob/1e9e2c86/Jenkinsfile
--
diff --git a/Jenkinsfile b/Jenkinsfile
new file mode 100644
index 000..50121ac
--- /dev/null
+++ b/Jenkinsfile
@@ -0,0 +1,45 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+properties([buildDiscarder(logRotator(artifactNumToKeepStr: '5', numToKeepStr: 
env.BRANCH_NAME=='master'?'10':'5'))])
+
+try {
+node('ubuntu') {
+stage 'Checkout'
+def MAVEN_BUILD=tool name: 'Maven 3.3.9', type: 
'hudson.tasks.Maven$MavenInstallation'
+echo "Driving build and unit tests using Maven $MAVEN_BUILD"
+def JAVA7_HOME=tool name: 'JDK 1.7 (latest)', type: 'hudson.model.JDK'
+echo "Running build and unit tests with Java $JAVA7_HOME"
+dir('build') {
+checkout scm
+def WORK_DIR=pwd()
+stage 'Build / Unit Test'
+withEnv(["PATH+MAVEN=$MAVEN_BUILD/bin","PATH+JDK=$JAVA7_HOME/bin"]) {
+sh "mvn clean verify -B -U -e -fae -V 
-Dmaven.test.failure.ignore=true -Dmaven.repo.local=$WORK_DIR/.repository"
+}
+junit allowEmptyResults: true, testResults:'**/target/*-reports/*.xml'
+}
+}
+
+} finally {}
+node('ubuntu') {
+emailext body: "See ${env.BUILD_URL}", recipientProviders: [[$class: 
'CulpritsRecipientProvider'], [$class: 'FailingTestSuspectsRecipientProvider'], 
[$class: 'FirstFailingBuildSuspectsRecipientProvider']], replyTo: 
'd...@maven.apache.org', subject: "Maven Resolver Jenkinsfile finished with 
${currentBuild.result}", to: 'notificati...@maven.apache.org'
+}
+}
+



maven-resolver git commit: Add a Jenkinsfile [Forced Update!]

2017-01-15 Thread stephenc
Repository: maven-resolver
Updated Branches:
  refs/heads/MNG-6007 d37aade9d -> eda9fc018 (forced update)


Add a Jenkinsfile


Project: http://git-wip-us.apache.org/repos/asf/maven-resolver/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven-resolver/commit/eda9fc01
Tree: http://git-wip-us.apache.org/repos/asf/maven-resolver/tree/eda9fc01
Diff: http://git-wip-us.apache.org/repos/asf/maven-resolver/diff/eda9fc01

Branch: refs/heads/MNG-6007
Commit: eda9fc018015b2e8da40318033ac3ccc7652ceb2
Parents: 8bd8c53
Author: Stephen Connolly 
Authored: Sun Jan 15 20:23:22 2017 +
Committer: Stephen Connolly 
Committed: Sun Jan 15 20:25:47 2017 +

--
 Jenkinsfile | 45 +
 1 file changed, 45 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/maven-resolver/blob/eda9fc01/Jenkinsfile
--
diff --git a/Jenkinsfile b/Jenkinsfile
new file mode 100644
index 000..50121ac
--- /dev/null
+++ b/Jenkinsfile
@@ -0,0 +1,45 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+properties([buildDiscarder(logRotator(artifactNumToKeepStr: '5', numToKeepStr: 
env.BRANCH_NAME=='master'?'10':'5'))])
+
+try {
+node('ubuntu') {
+stage 'Checkout'
+def MAVEN_BUILD=tool name: 'Maven 3.3.9', type: 
'hudson.tasks.Maven$MavenInstallation'
+echo "Driving build and unit tests using Maven $MAVEN_BUILD"
+def JAVA7_HOME=tool name: 'JDK 1.7 (latest)', type: 'hudson.model.JDK'
+echo "Running build and unit tests with Java $JAVA7_HOME"
+dir('build') {
+checkout scm
+def WORK_DIR=pwd()
+stage 'Build / Unit Test'
+withEnv(["PATH+MAVEN=$MAVEN_BUILD/bin","PATH+JDK=$JAVA7_HOME/bin"]) {
+sh "mvn clean verify -B -U -e -fae -V 
-Dmaven.test.failure.ignore=true -Dmaven.repo.local=$WORK_DIR/.repository"
+}
+junit allowEmptyResults: true, testResults:'**/target/*-reports/*.xml'
+}
+}
+
+} finally {}
+node('ubuntu') {
+emailext body: "See ${env.BUILD_URL}", recipientProviders: [[$class: 
'CulpritsRecipientProvider'], [$class: 'FailingTestSuspectsRecipientProvider'], 
[$class: 'FirstFailingBuildSuspectsRecipientProvider']], replyTo: 
'd...@maven.apache.org', subject: "Maven Resolver Jenkinsfile finished with 
${currentBuild.result}", to: 'notificati...@maven.apache.org'
+}
+}
+