This is an automated email from the ASF dual-hosted git repository.

skygo pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/incubator-netbeans-mavenutils.git


The following commit(s) were added to refs/heads/master by this push:
     new 64e303e  remove site folder before moving content
64e303e is described below

commit 64e303e1445a3bc06d56fe5741a9311d83ac0bc7
Author: Eric Barboni <sk...@apache.org>
AuthorDate: Wed Oct 31 17:10:05 2018 +0100

    remove site folder before moving content
    
    try too keep  site clear
---
 Jenkinsfile-site.groovy | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Jenkinsfile-site.groovy b/Jenkinsfile-site.groovy
index cc3065f..e2e2995 100644
--- a/Jenkinsfile-site.groovy
+++ b/Jenkinsfile-site.groovy
@@ -68,6 +68,7 @@ pipeline {
                     for (String mvnproject in mvnfoldersforsite) {
                         dir('master-branch/'+mvnproject) {
                             sh "mvn clean install site 
-Dmaven.repo.local=${BASEDIR}/.repository"
+                            sh "rm -rf 
${BASEDIR}/asf-site-branch/${mvnproject}"
                             sh "mv target/site 
${BASEDIR}/asf-site-branch/${mvnproject}/"
                         }
                     }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to