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-redback-features.git
The following commit(s) were added to refs/heads/master by this push:
new e0d63ec Adding clean step and maven settings for build
e0d63ec is described below
commit e0d63ecffcdf6807d6c31aa10b7d4fafb45e2a65
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 ec8e5d1..bc66074 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-redback-features.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].