You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ol...@apache.org on 2020/08/15 05:16:32 UTC

[maven-dist-tool] branch master updated: fix url and archive files

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

olamy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-dist-tool.git


The following commit(s) were added to refs/heads/master by this push:
     new 852b3b8  fix url and archive files
852b3b8 is described below

commit 852b3b8771b3baeba45f05a2a6ad59b5bd71f1c1
Author: olivier lamy <ol...@apache.org>
AuthorDate: Sat Aug 15 13:16:18 2020 +0800

    fix url and archive files
    
    Signed-off-by: olivier lamy <ol...@apache.org>
---
 Jenkinsfile                                                           | 4 +++-
 .../org/apache/maven/dist/tools/masterjobs/ListMasterJobsMojo.java    | 4 ++--
 src/site/markdown/index.md                                            | 2 +-
 3 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 1e3df48..3cbfb10 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -41,7 +41,9 @@ pipeline {
     }
     post {
         always {
-            jenkinsNotify()
+            // not sure what is this
+            //jenkinsNotify()
+            archiveArtifacts artifacts: "**/site/*.*",allowEmptyArchive: true
         }
     }
     options {
diff --git a/src/main/java/org/apache/maven/dist/tools/masterjobs/ListMasterJobsMojo.java b/src/main/java/org/apache/maven/dist/tools/masterjobs/ListMasterJobsMojo.java
index 337ffa7..7cadf83 100644
--- a/src/main/java/org/apache/maven/dist/tools/masterjobs/ListMasterJobsMojo.java
+++ b/src/main/java/org/apache/maven/dist/tools/masterjobs/ListMasterJobsMojo.java
@@ -40,7 +40,7 @@ import org.jsoup.select.Elements;
 
 /**
  * Generate report with build status of the Jenkins job for the master branch of every Git repository in
- * <a href="https://builds.apache.org/job/maven-box/">{@code maven-box} Apache Hosted Git Folder job</a>.
+ * <a href="https://ci-builds.apache.org/job/Maven/job/maven-box/">{@code maven-box} Apache Hosted Git Folder job</a>.
  *
  * @author Robert Scholte
  */
@@ -48,7 +48,7 @@ import org.jsoup.select.Elements;
 public class ListMasterJobsMojo extends AbstractMavenReport
 {
     private String gitboxUrl = "https://gitbox.apache.org/repos/asf";
-    private String mavenboxJobsBaseUrl = "https://builds.apache.org/job/maven-box/job/";
+    private String mavenboxJobsBaseUrl = "https://ci-builds.apache.org/job/Maven/job/maven-box/";
     
     private Collection<String> excluded = Arrays.asList( "maven-integration-testing", // runs with Maven core job
                                                          "maven-jenkins-env",
diff --git a/src/site/markdown/index.md b/src/site/markdown/index.md
index 41ba33b..6d65de3 100644
--- a/src/site/markdown/index.md
+++ b/src/site/markdown/index.md
@@ -36,7 +36,7 @@ In addition, dist-tool-plugin provides report for some interesting information a
 
 * [List Plugins Prerequisites][7] report, displaying plugins' Maven and JDK version prerequisites,
 
-or [MavenBox Jenkins Jobs](https://builds.apache.org/job/maven-box/):
+or [MavenBox Jenkins Jobs](https://ci-builds.apache.org/job/Maven/job/maven-box/):
 
 * [List Master Jobs][9] report, displaying the status of Jenkins jobs for the master branch of every Git repository on one page.