You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by st...@apache.org on 2017/01/15 21:18:41 UTC
[1/2] maven-resolver git commit: Add Jenkinsfile
Repository: maven-resolver
Updated Branches:
refs/heads/MNG-6007 8bd8c539d -> 61af1948b
Add 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/5779a357
Tree: http://git-wip-us.apache.org/repos/asf/maven-resolver/tree/5779a357
Diff: http://git-wip-us.apache.org/repos/asf/maven-resolver/diff/5779a357
Branch: refs/heads/MNG-6007
Commit: 5779a35721bc982053086bb44acec267d1887935
Parents: 8bd8c53
Author: Stephen Connolly <st...@gmail.com>
Authored: Sun Jan 15 20:41:01 2017 +0000
Committer: Stephen Connolly <st...@gmail.com>
Committed: Sun Jan 15 21:05:50 2017 +0000
----------------------------------------------------------------------
Jenkinsfile | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 50 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/maven-resolver/blob/5779a357/Jenkinsfile
----------------------------------------------------------------------
diff --git a/Jenkinsfile b/Jenkinsfile
new file mode 100644
index 0000000..95d2967
--- /dev/null
+++ b/Jenkinsfile
@@ -0,0 +1,50 @@
+/*
+ * 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'))])
+
+node('ubuntu') {
+ try {
+ 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') {
+ deleteDir()
+ }
+ dir('build') {
+ checkout scm
+ }
+ stage('Build/Test')
+ def WORK_DIR=pwd()
+ dir('build') {
+ try {
+ 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"
+ }
+ } finally {
+ junit allowEmptyResults: true, testResults:'**/target/*-reports/*.xml'
+ archiveArtifacts allowEmptyArchive: true, artifacts: '**/target/rat.txt'
+ }
+ }
+ } finally {
+ emailext body: "See ${env.BUILD_URL}", recipientProviders: [[$class: 'CulpritsRecipientProvider'], [$class: 'FailingTestSuspectsRecipientProvider'], [$class: 'FirstFailingBuildSuspectsRecipientProvider']], replyTo: 'dev@maven.apache.org', subject: "Maven Resolver Jenkinsfile finished with ${currentBuild.result}", to: 'notifications@maven.apache.org'
+ }
+}
[2/2] maven-resolver git commit: Add binary files to rat ignores as
it is inconsistent in ignoring them
Posted by st...@apache.org.
Add binary files to rat ignores as it is inconsistent in ignoring them
Project: http://git-wip-us.apache.org/repos/asf/maven-resolver/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven-resolver/commit/61af1948
Tree: http://git-wip-us.apache.org/repos/asf/maven-resolver/tree/61af1948
Diff: http://git-wip-us.apache.org/repos/asf/maven-resolver/diff/61af1948
Branch: refs/heads/MNG-6007
Commit: 61af1948bb77d7c592f78bab524f78c287d7bd73
Parents: 5779a35
Author: Stephen Connolly <st...@gmail.com>
Authored: Sun Jan 15 21:09:49 2017 +0000
Committer: Stephen Connolly <st...@gmail.com>
Committed: Sun Jan 15 21:16:12 2017 +0000
----------------------------------------------------------------------
pom.xml | 1 +
1 file changed, 1 insertion(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/maven-resolver/blob/61af1948/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index a1ded5c..32509b8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -309,6 +309,7 @@
<excludes combine.children="append">
<exclude>src/test/resources/**/*.ini</exclude>
<exclude>src/test/resources/**/*.txt</exclude>
+ <exclude>src/test/resources/ssl/*-store</exclude>
</excludes>
</configuration>
</plugin>