From 3768d0b9d7566e1ee6b48c6f8db11f68b78df46a Mon Sep 17 00:00:00 2001 From: cloudant-sdks-automation <71659186+cloudant-sdks-automation@users.noreply.github.com> Date: Fri, 30 Oct 2026 09:38:50 +0000 Subject: [PATCH] ci(generated): publish release Generated SDK source code using: - Generator version 3.117.2 - Specification version 1.0.0-dev0.1.41 - Automation (cloudant-sdks) version 5bea1b3 --- Jenkinsfile | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 24e4d4934..b92221793 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -209,9 +209,7 @@ pipeline { beforeAgent true allOf { buildingTag() - anyOf { - tag pattern: /${env.SVRE_PRE_RELEASE_TAG}/, comparator: "REGEXP" - } + tag pattern: /${env.SVRE_PRE_RELEASE_TAG}/, comparator: "REGEXP" } } steps { @@ -219,6 +217,10 @@ pipeline { gitsh('github.com') { publishDocs() } + publishGitHubRelease( + tag: env.TAG_NAME, + assets: getReleaseAssets(env.TAG_NAME.replaceFirst(/^v(?=${env.SVRE_RELEASE})/,'')) + ) } } } @@ -238,6 +240,7 @@ def artifactUrl def moduleId def buildType def scanCode +def getReleaseAssets void defaultInit() { // Default to using bump-my-version @@ -318,6 +321,10 @@ void defaultInit() { sh "${scannerHome}/bin/sonar-scanner -Dsonar.qualitygate.wait=true -Dsonar.projectKey=cloudant-${libName}-sdk -Dsonar.exclusions=examples/**" } } + + getReleaseAssets = { tagVersion -> + return [] + } } // Language specific implementations of the methods: