You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by sk...@apache.org on 2019/03/15 13:17:05 UTC

[incubator-netbeans-tools] branch master updated: clean up the repository before populating

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


The following commit(s) were added to refs/heads/master by this push:
     new e9ecf6a  clean up the repository before populating
e9ecf6a is described below

commit e9ecf6af298e75a496f3ee76ce89b64b175a4b5c
Author: Eric Barboni <sk...@apache.org>
AuthorDate: Fri Mar 15 14:16:56 2019 +0100

    clean up the repository before populating
---
 buildscripts/conveniences/Jenkinsfile-maven-master.groovy     | 1 +
 buildscripts/conveniences/Jenkinsfile-maven-release100.groovy | 1 +
 buildscripts/conveniences/Jenkinsfile-maven-release110.groovy | 1 +
 buildscripts/conveniences/Jenkinsfile-maven-release90.groovy  | 1 +
 buildscripts/conveniences/generatebuildscript.sh              | 1 +
 5 files changed, 5 insertions(+)

diff --git a/buildscripts/conveniences/Jenkinsfile-maven-master.groovy b/buildscripts/conveniences/Jenkinsfile-maven-master.groovy
index 69c0776..f75a5b5 100644
--- a/buildscripts/conveniences/Jenkinsfile-maven-master.groovy
+++ b/buildscripts/conveniences/Jenkinsfile-maven-master.groovy
@@ -60,6 +60,7 @@ pipeline {
       stage('NetBeans Maven Stage') {
           steps {
               script {
+                        sh 'rm -rf testrepo/.m2'
                         sh "mvn org.apache.netbeans.utilities:nb-repository-plugin:1.4-SNAPSHOT:download -DnexusIndexDirectory=${env.WORKSPACE}/repoindex -Dmaven.repo.local=${env.WORKSPACE}/.repository -DrepositoryUrl=https://repo.maven.apache.org/maven2"
                         sh 'mkdir -p testrepo/.m2'
                         sh "mvn org.apache.netbeans.utilities:nb-repository-plugin:1.4-SNAPSHOT:populate -DnexusIndexDirectory=${env.WORKSPACE}/repoindex -DnetbeansNbmDirectory=${env.WORKSPACE}/netbeanssources/nbbuild/nbms -DnetbeansInstallDirectory=${env.WORKSPACE}/netbeanssources/nbbuild/netbeans -DnetbeansSourcesDirectory=${env.WORKSPACE}/netbeanssources/nbbuild/build/source-zips -DnebeansJavadocDirectory=${env.WORKSPACE}/netbeanssources/nbbuild/build/javadoc  -Dmaven.repo.local=${env [...]
diff --git a/buildscripts/conveniences/Jenkinsfile-maven-release100.groovy b/buildscripts/conveniences/Jenkinsfile-maven-release100.groovy
index e3d3652..d0b5ff8 100644
--- a/buildscripts/conveniences/Jenkinsfile-maven-release100.groovy
+++ b/buildscripts/conveniences/Jenkinsfile-maven-release100.groovy
@@ -60,6 +60,7 @@ pipeline {
       stage('NetBeans Maven Stage') {
           steps {
               script {
+                        sh 'rm -rf testrepo/.m2'
                         sh "mvn org.apache.netbeans.utilities:nb-repository-plugin:1.4-SNAPSHOT:download -DnexusIndexDirectory=${env.WORKSPACE}/repoindex -Dmaven.repo.local=${env.WORKSPACE}/.repository -DrepositoryUrl=https://repo.maven.apache.org/maven2"
                         sh 'mkdir -p testrepo/.m2'
                         sh "mvn org.apache.netbeans.utilities:nb-repository-plugin:1.4-SNAPSHOT:populate -DnexusIndexDirectory=${env.WORKSPACE}/repoindex -DnetbeansNbmDirectory=${env.WORKSPACE}/netbeanssources/nbbuild/nbms -DnetbeansInstallDirectory=${env.WORKSPACE}/netbeanssources/nbbuild/netbeans -DnetbeansSourcesDirectory=${env.WORKSPACE}/netbeanssources/nbbuild/build/source-zips -DnebeansJavadocDirectory=${env.WORKSPACE}/netbeanssources/nbbuild/build/javadoc  -Dmaven.repo.local=${env [...]
diff --git a/buildscripts/conveniences/Jenkinsfile-maven-release110.groovy b/buildscripts/conveniences/Jenkinsfile-maven-release110.groovy
index 6d8f5cb..9ff0a0b 100644
--- a/buildscripts/conveniences/Jenkinsfile-maven-release110.groovy
+++ b/buildscripts/conveniences/Jenkinsfile-maven-release110.groovy
@@ -60,6 +60,7 @@ pipeline {
       stage('NetBeans Maven Stage') {
           steps {
               script {
+                        sh 'rm -rf testrepo/.m2'
                         sh "mvn org.apache.netbeans.utilities:nb-repository-plugin:1.4-SNAPSHOT:download -DnexusIndexDirectory=${env.WORKSPACE}/repoindex -Dmaven.repo.local=${env.WORKSPACE}/.repository -DrepositoryUrl=https://repo.maven.apache.org/maven2"
                         sh 'mkdir -p testrepo/.m2'
                         sh "mvn org.apache.netbeans.utilities:nb-repository-plugin:1.4-SNAPSHOT:populate -DnexusIndexDirectory=${env.WORKSPACE}/repoindex -DnetbeansNbmDirectory=${env.WORKSPACE}/netbeanssources/nbbuild/nbms -DnetbeansInstallDirectory=${env.WORKSPACE}/netbeanssources/nbbuild/netbeans -DnetbeansSourcesDirectory=${env.WORKSPACE}/netbeanssources/nbbuild/build/source-zips -DnebeansJavadocDirectory=${env.WORKSPACE}/netbeanssources/nbbuild/build/javadoc  -Dmaven.repo.local=${env [...]
diff --git a/buildscripts/conveniences/Jenkinsfile-maven-release90.groovy b/buildscripts/conveniences/Jenkinsfile-maven-release90.groovy
index e0bcb19..d4b22a7 100644
--- a/buildscripts/conveniences/Jenkinsfile-maven-release90.groovy
+++ b/buildscripts/conveniences/Jenkinsfile-maven-release90.groovy
@@ -60,6 +60,7 @@ pipeline {
       stage('NetBeans Maven Stage') {
           steps {
               script {
+                        sh 'rm -rf testrepo/.m2'
                         sh "mvn org.apache.netbeans.utilities:nb-repository-plugin:1.4-SNAPSHOT:download -DnexusIndexDirectory=${env.WORKSPACE}/repoindex -Dmaven.repo.local=${env.WORKSPACE}/.repository -DrepositoryUrl=https://repo.maven.apache.org/maven2"
                         sh 'mkdir -p testrepo/.m2'
                         sh "mvn org.apache.netbeans.utilities:nb-repository-plugin:1.4-SNAPSHOT:populate -DnexusIndexDirectory=${env.WORKSPACE}/repoindex -DnetbeansNbmDirectory=${env.WORKSPACE}/netbeanssources/nbbuild/nbms -DnetbeansInstallDirectory=${env.WORKSPACE}/netbeanssources/nbbuild/netbeans -DnetbeansSourcesDirectory=${env.WORKSPACE}/netbeanssources/nbbuild/build/source-zips -DnebeansJavadocDirectory=${env.WORKSPACE}/netbeanssources/nbbuild/build/javadoc  -Dmaven.repo.local=${env [...]
diff --git a/buildscripts/conveniences/generatebuildscript.sh b/buildscripts/conveniences/generatebuildscript.sh
index d52dfe5..5ffb455 100644
--- a/buildscripts/conveniences/generatebuildscript.sh
+++ b/buildscripts/conveniences/generatebuildscript.sh
@@ -157,6 +157,7 @@ for arelease in releaseinfo:
   mavenbuildfile.write("          steps {\n")
   mavenbuildfile.write("              script {\n")
   nbbuildpath = "${env.WORKSPACE}/netbeanssources/nbbuild"
+  mavenbuildfile.write("                        sh 'rm -rf testrepo/.m2'\n")
   mavenbuildfile.write("                        sh "+'"'+'mvn org.apache.netbeans.utilities:nb-repository-plugin:'+arelease[6]+':download -DnexusIndexDirectory=${env.WORKSPACE}/repoindex -Dmaven.repo.local=${env.WORKSPACE}/.repository'+ ' -DrepositoryUrl=https://repo.maven.apache.org/maven2"'+"\n")
   mavenbuildfile.write("                        sh 'mkdir -p testrepo/.m2'\n")
   mavenbuildfile.write("                        sh "+'"'+'mvn org.apache.netbeans.utilities:nb-repository-plugin:'+arelease[6]+':populate -DnexusIndexDirectory=${env.WORKSPACE}/repoindex -DnetbeansNbmDirectory='+nbbuildpath+'/nbms -DnetbeansInstallDirectory='+nbbuildpath+'/netbeans -DnetbeansSourcesDirectory='+nbbuildpath+'/build/source-zips -DnebeansJavadocDirectory='+nbbuildpath+'/build/javadoc  -Dmaven.repo.local=${env.WORKSPACE}/.repository -DparentGAV='+arelease[8]+' -DforcedVersion [...]


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

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