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-utils.git
The following commit(s) were added to refs/heads/master by this push:
new ea53ff7 Adding clean step and maven settings for build
ea53ff7 is described below
commit ea53ff71a94ee2baf1dd8ea51557c1ce49224477
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 c0b6af1..bad6d6f 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-utils.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].