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-apacheds.git
The following commit(s) were added to refs/heads/master by this push:
new 92335cf Adding clean step and maven settings for build
92335cf is described below
commit 92335cf849f9c46b0f8ad09e82191af36a29836e
Author: Martin Stockhammer <[email protected]>
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 cf1859e..ad03b29 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-apacheds.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
[email protected].