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

hboutemy 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 7ba8643  disable API_TOKEN for now
7ba8643 is described below

commit 7ba86438bdd5fef4b11fcdf0a7212664668ba4bf
Author: HervĂ© Boutemy <[email protected]>
AuthorDate: Fri Oct 30 22:24:45 2026 +0100

    disable API_TOKEN for now
---
 Jenkinsfile | 8 ++++----
 README.md   | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 0f23534..ac505b5 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -36,11 +36,11 @@ pipeline {
 
         stage('Build') {
             steps {
-                withCredentials([string(credentialsId: 'API_TOKEN', variable: 
'API_TOKEN')]) {
+                //withCredentials([string(credentialsId: 'API_TOKEN', 
variable: 'API_TOKEN')]) {
                     withMaven(jdk:'jdk_21_latest', maven:'maven_3_latest', 
publisherStrategy: 'EXPLICIT', mavenLocalRepo:'.repository') {
                         sh "mvn -ntp -V -e -Preporting -Dscreenshot=false 
clean install site"
                     }
-                }
+                //}
                 archiveArtifacts artifacts: 
"**/target/site/**/*",allowEmptyArchive: true
             }
         }
@@ -53,11 +53,11 @@ pipeline {
 
         stage('Check errors') {
             steps {
-                withCredentials([string(credentialsId: 'API_TOKEN', variable: 
'API_TOKEN')]) {
+                //withCredentials([string(credentialsId: 'API_TOKEN', 
variable: 'API_TOKEN')]) {
                     withMaven(jdk:'jdk_21_latest', maven:'maven_3_latest', 
mavenLocalRepo:'.repository', publisherStrategy: 'EXPLICIT') {
                         sh "mvn -ntp -V -e failsafe:integration-test"
                     }
-                }
+                //}
             }
         }
     }
diff --git a/README.md b/README.md
index 7b479f7..eaf36c0 100644
--- a/README.md
+++ b/README.md
@@ -34,7 +34,7 @@ mvn verify site
 Configuration
 -------
 
-### API_TOKEN
+### API_TOKEN (currently disabled)
 
 The `API_TOKEN` environment variable is needed by the two Jenkins reports 
(`list-master-jobs` and
 `list-branches`), since `ci-maven.apache.org` doesn't allow anonymous access 
to its JSON API.

Reply via email to