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 c9e3b9c Remove branch condition for Publish and Check errors
c9e3b9c is described below
commit c9e3b9cb819036e60fbd2be00a0ef3e9b57af47d
Author: Olivier Lamy <[email protected]>
AuthorDate: Sun Mar 15 20:54:30 2026 +1000
Remove branch condition for Publish and Check errors
Removed branch condition for Publish and Check errors stages.
---
Jenkinsfile | 6 ------
1 file changed, 6 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index df7a28f..0f23534 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -46,18 +46,12 @@ pipeline {
}
stage('Publish') {
- when {
- branch 'master'
- }
steps {
publishHTML([allowMissing: false, alwaysLinkToLastBuild: true,
keepAll: true, reportDir: "${env.WORKSPACE}/target/site", reportFiles:
'index.html', reportName: 'site', reportTitles: ''])
}
}
stage('Check errors') {
- when {
- branch 'master'
- }
steps {
withCredentials([string(credentialsId: 'API_TOKEN', variable:
'API_TOKEN')]) {
withMaven(jdk:'jdk_21_latest', maven:'maven_3_latest',
mavenLocalRepo:'.repository', publisherStrategy: 'EXPLICIT') {