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

porcelli pushed a commit to branch 10.2.x
in repository https://gitbox.apache.org/repos/asf/incubator-kie-optaplanner.git


The following commit(s) were added to refs/heads/10.2.x by this push:
     new 053d240836 release: no more docs, can clean this.
053d240836 is described below

commit 053d240836f92db9cc3732eacf4b784dcb7d2429
Author: Alex Porcelli <[email protected]>
AuthorDate: Sat Mar 21 16:59:03 2026 -0400

    release: no more docs, can clean this.
---
 .ci/jenkins/Jenkinsfile.deploy  | 13 -------------
 .ci/jenkins/Jenkinsfile.promote | 32 --------------------------------
 2 files changed, 45 deletions(-)

diff --git a/.ci/jenkins/Jenkinsfile.deploy b/.ci/jenkins/Jenkinsfile.deploy
index 7c7314a699..224f1da94a 100644
--- a/.ci/jenkins/Jenkinsfile.deploy
+++ b/.ci/jenkins/Jenkinsfile.deploy
@@ -153,9 +153,6 @@ pipeline {
                             
mavenCommand.withSettingsXmlFile(MAVEN_SETTINGS_FILE).run("clean 
$installOrDeploy")
                         }
                     }
-                    if (isRelease()) {
-                        updateAntoraYaml(optaplannerFolder)
-                    }
                 }
             }
             post {
@@ -510,16 +507,6 @@ String getQuickStartsBranch() {
     return params.QUICKSTARTS_BUILD_BRANCH_NAME
 }
 
-void updateAntoraYaml(String directory) {
-    if (isNotTestingBuild()) {
-        echo "updateAntoraYaml for ${directory}"
-        dir(directory) {
-            sh './build/release/update_antora_yml.sh'
-        }
-    } else {
-        echo 'No updateAntoraYaml due to testing build'
-    }
-}
 
 /* OptaPlanner Operator */
 
diff --git a/.ci/jenkins/Jenkinsfile.promote b/.ci/jenkins/Jenkinsfile.promote
index ea346cee3d..89daa88ea5 100644
--- a/.ci/jenkins/Jenkinsfile.promote
+++ b/.ci/jenkins/Jenkinsfile.promote
@@ -109,22 +109,6 @@ pipeline {
             }
         }
 
-        stage('Upload OptaPlanner documentation') {
-            steps {
-                script {
-                    configFileProvider([configFile(fileId: 
env.MAVEN_SETTINGS_CONFIG_FILE_ID, variable: 'MAVEN_SETTINGS_FILE')]){
-                        getMavenCommand()
-                                .inDirectory(optaplannerRepository)
-                                .skipTests(true)
-                                .withProperty('full')
-                                .withSettingsXmlFile(MAVEN_SETTINGS_FILE)
-                                .run('clean install')
-                    }
-                    uploadDistribution(optaplannerRepository)
-                }
-            }
-        }
-
         stage('Push the final OptaPlanner operator image') {
             steps {
                 script {
@@ -251,22 +235,6 @@ void tagLatest() {
     }
 }
 
-void uploadDistribution(String directory) {
-    if (isNotTestingBuild()) {
-        echo "uploadDistribution for ${directory}"
-        dir(directory) {
-            withCredentials(bindings: [sshUserPrivateKey(credentialsId: 
'optaplanner-filemgmt',
-                    keyFileVariable: 'SSH_KEY_JBOSS_FILEMGMT')]) {
-                // For testing, simulate connection via SSH:
-                // sh "ssh -i $SSH_KEY_JBOSS_FILEMGMT 
-oKexAlgorithms=+diffie-hellman-group1-sha1 [email protected]"
-                sh "./build/release/upload_distribution.sh 
${getProjectVersion()} $SSH_KEY_JBOSS_FILEMGMT"
-            }
-        }
-    } else {
-        echo 'No uploadDistribution due to testing build'
-    }
-}
-
 MavenCommand getMavenCommand() {
     mvnCmd = new MavenCommand(this, ['-fae', '-ntp'])
     if (env.MAVEN_DEPENDENCIES_REPOSITORY) {


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to