archiva-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From marti...@apache.org
Subject [archiva-redback-components-spring-cache] branch master updated: Jenkinsfile modifications
Date Tue, 17 Apr 2018 17:13:17 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-spring-cache.git


The following commit(s) were added to refs/heads/master by this push:
     new 7b98b51  Jenkinsfile modifications
7b98b51 is described below

commit 7b98b5128ac9708f64b4091b31673fc78436bb5b
Author: Martin Stockhammer <martin.stockhammer@ars.de>
AuthorDate: Tue Apr 17 19:13:15 2018 +0200

    Jenkinsfile modifications
---
 Jenkinsfile | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index a34d112..0d3035f 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -31,8 +31,9 @@ def deploySettings = 'DefaultMavenSettingsProvider.1331204114925'
 node(labels) {
 
     cleanWs()
+
     stage ('Clone Sources') {
-        git url: 'https://gitbox.apache.org/repos/asf/archiva-redback-components-spring-cache.git'
+        checkout scm
     }
 
     stage ('Build') {
@@ -41,9 +42,8 @@ node(labels) {
                 jdk: buildJdk,
                 mavenSettingsConfig: deploySettings
         ) {
-            // Run the maven build
             sh "mvn clean install -B -U -e -fae -Dmaven.compiler.fork=false"
-        } // withMaven will discover the generated Maven artifacts, JUnit Surefire &
FailSafe & FindBugs reports...
+        } 
     }
 
     stage ('Deploy') {
@@ -52,8 +52,7 @@ node(labels) {
                 jdk: buildJdk,
                 mavenSettingsConfig: deploySettings
         ) {
-            // 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...
+            sh "mvn deploy -Dmaven.test.skip=true -B -U -e -fae -Dmaven.compiler.fork=false"
+        }
     }
 }

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

Mime
View raw message