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-modello-plugins.git


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

commit 5d8fde962b364d0140fe67ae4e2885a7240a5d39
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 2610944..625c5ea 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-modello-plugins.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