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


The following commit(s) were added to refs/heads/master by this push:
     new 0218cee  Using standard local maven repo
0218cee is described below

commit 0218cee3dfaeee965d659e1dc9700763cb5a23ce
Author: Martin Stockhammer <[email protected]>
AuthorDate: Sun Apr 29 20:00:46 2018 +0200

    Using standard local maven repo
---
 Jenkinsfile | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index c08c81e..795f0c9 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -9,7 +9,7 @@ node(labels) {
             checkout scm
         }
     } catch (Exception e) {
-        //notifyBuild("Checkout Failure")
+        notifyBuild("Checkout Failure")
         throw e
     }
 
@@ -17,8 +17,7 @@ node(labels) {
         stage('Build') {
             timeout(20) {
                 withMaven(maven: buildMvn, jdk: buildJdk,
-                        mavenSettingsConfig: deploySettings,
-                        mavenLocalRepo: ".repository"
+                        mavenSettingsConfig: deploySettings
                 )
                         {
                             sh "rm -rf .repository"
@@ -39,10 +38,9 @@ node(labels) {
 
     try {
         stage('Publish') {
-            timeout(120) {
+            timeout(10) {
                 withMaven(maven: buildMvn, jdk: buildJdk,
-                        mavenSettingsConfig: deploySettings,
-                        mavenLocalRepo: ".repository"
+                        mavenSettingsConfig: deploySettings
                 )
                         {
                             sh "mvn -B -U -e -fae deploy"

-- 
To stop receiving notification emails like this one, please contact
[email protected].

Reply via email to