You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@archiva.apache.org by ma...@apache.org on 2018/05/17 21:24:46 UTC

[archiva-parent] branch master updated: Adding checkout

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 b2e7936  Adding checkout
b2e7936 is described below

commit b2e79365e7833cff0448e9d4a039322dae079cbb
Author: Martin Stockhammer <ma...@ars.de>
AuthorDate: Thu May 17 23:24:07 2018 +0200

    Adding checkout
---
 Jenkinsfile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 1ff6419..71f6636 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -46,6 +46,7 @@ pipeline {
                 stage('JDK9') {
                     steps {
                         ws('JDK9') {
+                            checkout scm
                             timeout(20) {
                                 withMaven(maven: buildMvn, jdk: buildJdk9,
                                         mavenSettingsConfig: deploySettings,
@@ -67,6 +68,7 @@ pipeline {
                 stage('JDK10') {
                     steps {
                         ws('JDK10') {
+                            checkout scm
                             timeout(20) {
                                 withMaven(maven: buildMvn, jdk: buildJdk9,
                                         mavenSettingsConfig: deploySettings,
@@ -95,7 +97,7 @@ pipeline {
             notifyBuild("Unstable Build")
         }
         always {
-            cleanWs deleteDirs: true, notFailBuild: true, patterns: [[pattern: '.repository', type: 'EXCLUDE']]
+            cleanWs deleteDirs: true, notFailBuild: true, patterns: [[pattern: '.repository', type: 'EXCLUDE'],[pattern: '.repository/**', type: 'EXCLUDE']]
         }
         success {
             script {

-- 
To stop receiving notification emails like this one, please contact
martin_s@apache.org.