Skip to content

chore(QTDI-3900): Release job parameter to choose classic or SR release - #1353

Open
lxia-talend wants to merge 17 commits into
masterfrom
lxia-talend/QTDI-3900_sr_release_type_parameter
Open

lxia-talend wants to merge 17 commits into
masterfrom
lxia-talend/QTDI-3900_sr_release_type_parameter

Conversation

@lxia-talend

@lxia-talend lxia-talend commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Jira: https://qlik-dev.atlassian.net/browse/QTDI-3900

ci/Jenkinsfile-release: new RELEASE_TYPE (CLASSIC default / SR) and SR_NUMBER. 1.2610.2-SNAPSHOT → 1.2610.2-SR01, tag component-runtime-1.2610.2-SR01, next 1.2610.3-SNAPSHOT. Classic path unchanged.

  • SR only with ACTION=MAINTENANCE, and only on an October maintenance branch (maintenance/<major>.YY10, e.g. maintenance/1.2610): the job fails fast otherwise, and on a missing or invalid SR_NUMBER.

  • Related: feat(QTDI-3812): Add SR qualifier to maintenance releases #1355 (QTDI-3812) adds an SR_QUALIFIER parameter on maintenance/1.2610. The interface still has to be agreed with the TCK team, because a mandatory SR_QUALIFIER on master would force every maintenance release to be an SR.

  • Post action: previousBuild?.result (the previous build can be discarded by the log rotator, which made the post action fail with a NullPointerException), and no Slack notification for a DRY_RUN (as in connectors): a dry run publishes nothing, a "SUCCESSFUL" or "FAILURE @here" message in the channel would be misleading.

Shared library: connectors-lib@2.0.4 (Talend/tdi-jenkins-shared-libraries#45 and #46 are merged and tagged). It provides getSrReleaseVersion and the SR number checks (VersionController.checkSrRelease).

Type of change

  • This PR deploys a change (new feature / improvement)
  • This PR fixes an issue

AI generated code

  • this PR has been written with the help of Claude Code (generative AI tool)

🤖 Generated with Claude Code

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

Approval should be deferred because the release flow relies on an unavailable external shared-library implementation for SR version arithmetic and tag/branch behavior, requiring end-to-end Jenkins validation.

No open issues 🎉

What changed in this PR

Adds configurable Classic versus Service Release behavior to the Jenkins release pipeline while preserving the existing classic release flow.

Changes:

  • Adds RELEASE_TYPE and SR_NUMBER parameters.
  • Validates SR releases and calculates their versions through the shared library.
  • Generates SR release tags and updates release metadata.
File Description
ci/​Jenkinsfile-release Adds SR parameters, validation, version calculation, tagging, and release metadata handling to the release pipeline.

Review effort: Lite

lxia-talend and others added 7 commits December 1, 2026 10:25
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…heck

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…a-e2e-tests-tool and alertingTools)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…rs-lib 2.x)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@lxia-talend
lxia-talend marked this pull request as ready for review December 2, 2026 02:03
lxia-talend and others added 7 commits December 2, 2026 10:14
Updated the library version in the Jenkinsfile from a specific branch to a stable release version.
…branch

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
(cherry picked from commit 0484013757304e9be8ff43a5e1911c34dccd2630)
…emporary)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…local copy of the SR number check

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…arkdown code block, as ACTION)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
… was discarded

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Comment thread ci/Jenkinsfile-release Resolved
…ariable, and a readable build kind

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@sonar-rnd

sonar-rnd Bot commented Dec 3, 2026

Copy link
Copy Markdown

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants