Skip to content

chore(QTDI-3860): bind artifactory credentials in release stages that run Maven - #1341

Merged
lxia-talend merged 1 commit into
masterfrom
lxia-talend/QTDI-3860_release_artifactory_credentials
Nov 19, 2026
Merged

lxia-talend merged 1 commit into
masterfrom
lxia-talend/QTDI-3860_release_artifactory_credentials

Conversation

@lxia-talend

Copy link
Copy Markdown
Contributor

Problem

Release master #8 (ACTION=GA, 1.2612.0) failed in Maven release prepare: maven-release-plugin:3.1.1 dependencies could not be resolved (Failed to read artifact descriptor for maven-release-api, maven-release-manager, ...).

Cause

Since #1306 Maven Central is mirrored by artifactory.datapwn.com (.jenkins/settings.xml), which authenticates with ${env.DOCKER_USER} / ${env.DOCKER_PASS}. In ci/Jenkinsfile-release the stages that run Maven did not bind dockerCredentials, so the mirror was queried without credentials (401). The previous successful release (#7) ran when Nexus was still used.

Fix

Bind dockerCredentials in the stages that run Maven and lacked it:

  • Maven release prepare
  • Maven release process
  • Create maintenance branch (mvn versions:set)

Validation

Not run yet: needs a release job run (DRY_RUN=true is enough to cover release:prepare).

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

… run Maven

Maven Central is mirrored by artifactory.datapwn.com, which authenticates with DOCKER_USER/DOCKER_PASS.
Maven release prepare, Maven release process and Create maintenance branch did not bind them,
so release-plugin dependencies could not be resolved (401).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

@wyuan wyuan left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

LGTM

@sonar-rnd

sonar-rnd Bot commented Nov 19, 2026

Copy link
Copy Markdown

@lxia-talend
lxia-talend merged commit 62ff482 into master Nov 19, 2026
9 of 11 checks passed
@lxia-talend
lxia-talend deleted the lxia-talend/QTDI-3860_release_artifactory_credentials branch November 19, 2026 04:01
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.

2 participants