archiva-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From marti...@apache.org
Subject [archiva-redback-components-parent] branch master updated: Testing pipeline publish
Date Sun, 15 Apr 2018 20:15:53 GMT
This is an automated email from the ASF dual-hosted git repository.

martin_s pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/archiva-redback-components-parent.git


The following commit(s) were added to refs/heads/master by this push:
     new 6192fb1  Testing pipeline publish
6192fb1 is described below

commit 6192fb124c0b3d0dbf7cdd10bbe066ee3f4f6624
Author: Martin Stockhammer <m.stockhammer@web.de>
AuthorDate: Sun Apr 15 22:15:51 2018 +0200

    Testing pipeline publish
---
 Jenkinsfile | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index ed978ec..ecb7717 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -22,10 +22,14 @@
  *
  */
 node('ubuntu') {
-    stage ('Build') {
+
+    stage ('Clone Sources') {
 
         git url: 'https://gitbox.apache.org/repos/asf/archiva-redback-components-parent.git'
 
+    }
+
+    stage ('Build') {
         withMaven(
                 // Maven installation declared in the Jenkins "Global Tool Configuration"
                 maven: 'Maven 3.5.2', jdk: 'JDK 1.8 (latest)') {
@@ -34,4 +38,16 @@ node('ubuntu') {
 
         } // withMaven will discover the generated Maven artifacts, JUnit Surefire &
FailSafe & FindBugs reports...
     }
+
+    stage ('Deploy') {
+        withMaven(
+                maven: 'Maven 3.5.2',
+                jdk: 'JDK 1.8 (latest)',
+                mavenSettingsConfig: 'DefaultMavenSettingsProvider.1331204114925'
+        ) {
+            // Run the maven build
+            sh "mvn clean deploy -Dmaven.test.skip=true -B -U -e -fae -Dmaven.compiler.fork=false"
+
+        } // withMaven will discover the generated Maven artifacts, JUnit Surefire &
FailSafe & FindBugs reports...
+    }
 }
\ No newline at end of file

-- 
To stop receiving notification emails like this one, please contact
martin_s@apache.org.

Mime
View raw message