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

Kusuma04-dev pushed a commit to branch test_10.3.x
in repository https://gitbox.apache.org/repos/asf/incubator-kie-tools.git

commit 99c1a96e623c3889c26a647708042c09fc9be795
Author: Kusuma <[email protected]>
AuthorDate: Mon Oct 19 18:16:11 2026 +0530

    tests
---
 .ci/jenkins/shared-scripts/releaseUtils.groovy | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.ci/jenkins/shared-scripts/releaseUtils.groovy 
b/.ci/jenkins/shared-scripts/releaseUtils.groovy
index 46640991339..92f3df1a366 100644
--- a/.ci/jenkins/shared-scripts/releaseUtils.groovy
+++ b/.ci/jenkins/shared-scripts/releaseUtils.groovy
@@ -43,6 +43,9 @@ def signArtifact(String artifactFileName) {
 def publishArtifacts(String artifactsDir, String releaseRepository, String 
releaseVersion, String credentialsId) {
     withCredentials([usernamePassword(credentialsId: credentialsId, 
usernameVariable: 'ASF_USERNAME', passwordVariable: 'ASF_PASSWORD')]) {
         sh """#!/bin/bash -el
+        if ! svn ls --non-interactive ${releaseRepository}/${releaseVersion} > 
/dev/null 2>&1; then
+            svn mkdir --parents --non-interactive --no-auth-cache --username 
\${ASF_USERNAME} --password "\${ASF_PASSWORD}" -m "Create Apache KIE 
${releaseVersion} staging directory" ${releaseRepository}/${releaseVersion}
+        fi
         svn co --depth=empty ${releaseRepository}/${releaseVersion} svn-kie
         cp ${artifactsDir}/* svn-kie
         cd svn-kie


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

Reply via email to