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-registry] branch master updated: Adding clean step and maven settings for build
Date Mon, 16 Apr 2018 18:50:20 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-registry.git


The following commit(s) were added to refs/heads/master by this push:
     new b834ec2  Adding clean step and maven settings for build
b834ec2 is described below

commit b834ec2a1b5e0bc362f00f72b1f9f7e673eed30f
Author: Martin Stockhammer <m.stockhammer@web.de>
AuthorDate: Mon Apr 16 20:49:43 2018 +0200

    Adding clean step and maven settings for build
---
 Jenkinsfile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 2b42241..3b25a21 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -30,6 +30,8 @@ def deploySettings = 'DefaultMavenSettingsProvider.1331204114925'
 
 node(labels) {
 
+    cleanWs()
+
     stage ('Clone Sources') {
         git url: 'https://gitbox.apache.org/repos/asf/archiva-redback-components-spring-registry.git'
     }
@@ -37,7 +39,8 @@ node(labels) {
     stage ('Build') {
         withMaven(
                 maven: buildMvn,
-                jdk: buildJdk
+                jdk: buildJdk,
+                mavenSettingsConfig: deploySettings
         ) {
             // Run the maven build
             sh "mvn clean install -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