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-taskqueue.git


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

commit 48d92f3f0c92ce66a32b7a1668629b2fae3bc39e
Author: Martin Stockhammer <m.stockham...@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 b71e5c1..bca85be 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-taskqueue.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
marti...@apache.org.

Reply via email to