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 2016/12/19 10:55:39 UTC

maven git commit: Add a Jenkinsfile

Repository: maven
Updated Branches:
  refs/heads/master 4f4690cb9 -> 76655b0f7


Add a Jenkinsfile


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

Branch: refs/heads/master
Commit: 76655b0f7976597fbc854e875d120e4b563ba83d
Parents: 4f4690c
Author: Stephen Connolly <st...@gmail.com>
Authored: Mon Dec 19 10:55:30 2016 +0000
Committer: Stephen Connolly <st...@gmail.com>
Committed: Mon Dec 19 10:55:30 2016 +0000

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


http://git-wip-us.apache.org/repos/asf/maven/blob/76655b0f/Jenkinsfile
----------------------------------------------------------------------
diff --git a/Jenkinsfile b/Jenkinsfile
new file mode 100644
index 0000000..e46ba8f
--- /dev/null
+++ b/Jenkinsfile
@@ -0,0 +1,19 @@
+pipeline {
+    
+    agent label:"java"
+
+    post {
+        always {
+            archive '**/apache-maven/targer/apache-mavent-*'
+            junit '**/target/*-reports/*.xml'
+        }
+    }
+
+    stages {
+        stage('build') {
+            steps {
+                sh 'mvn clean verify'
+            }
+        }
+    }
+}