Skip to content

chore(QTDI-3696): Align Jenkinsfile with master and add SONAR profile - #1305

Open
fdesiles wants to merge 3 commits into
maintenance/1.64from
fdesiles/QTDI-3696_align_jenkinsfile_1.64
Open

fdesiles wants to merge 3 commits into
maintenance/1.64from
fdesiles/QTDI-3696_align_jenkinsfile_1.64

Conversation

@fdesiles

@fdesiles fdesiles commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Why this PR is needed?

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

After #1140 (QTDI-2053) was brought to maintenance/1.64, the Sonar analysis fails with profile SONAR not found.

Cause

What does this PR adds (design/code thoughts)?

  • Jenkinsfile, .jenkins/settings.xml: taken from master.
  • pom.xml: add the SONAR profile and the sonar-maven-plugin pluginManagement entry (5.7.0.6970).

Artifact content is unchanged. The Release stage (release_legacy.sh) and the release scripts are not touched.

Side effects to check

  • Master/maintenance snapshots are now also deployed to the internal Nexus (own stage) and to GitHub Packages (non-blocking, UNSTABLE on failure).
  • The Sonatype deploy now has a 60 min timeout and turns the build UNSTABLE instead of failing it.
  • Credentials sonar-credentials-token and github-packages-ci-runner-connectors-pat must be available to the 1.64 job.
  • Dependency reports are published from target/reports/ (as on master). allowMissing is set, so a wrong path would silently leave the report tabs empty: check after the first build.

Testing

Not run on Jenkins yet. Locally, mvn -o -N -PSONAR validate succeeds with the edited pom.

🤖 Generated with Claude Code

Fixes the Sonar analysis failing with "profile SONAR not found" on
maintenance/1.64:
- take Jenkinsfile and .jenkins/settings.xml from master (Sonar token
  credentials, tqa-e2e-tests-tool 2.6.13-ttp2, split Nexus/Sonatype/
  GitHub Packages deploy stages)
- add the SONAR profile and the sonar-maven-plugin management to pom.xml

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@fdesiles
fdesiles requested review from acatoire and a balanced review from Copilot October 28, 2026 14:07

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.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

fdesiles and others added 2 commits October 28, 2026 16:49
Backport of ddc5dae from master. The dependency is only needed in
Jenkins builds; resolving it elsewhere (e.g. the GitHub "Automatic
Dependency Submission" submit-maven check) fails with a 401 on the
TalendOpenSourceRelease Nexus. Jenkins sets JENKINS_URL so CI and release
builds still include it.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The TCOMP-api-test job fails on maintenance/1.64 because its pod still
uses the legacy root docker:19.03.1-dind sidecar (the docker-daemon
container terminates with ContainerError) and its Jenkinsfile calls
.jenkins/scripts/asdf_install.sh, which does not exist on this branch.

Take talend-component-maven-plugin/src/it/web/.jenkins/ as-is from master
(rootless dind pod and PVCs, JenkinsPodConfig/JenkinsStatusController
helpers, /home/jenkins paths). Only CI files are touched.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
fdesiles added a commit that referenced this pull request Oct 28, 2026
This reverts commit a405c5f.

These changes were pushed here by mistake; they belong on QTDI-3696 (#1305).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
fdesiles added a commit that referenced this pull request Oct 28, 2026
…profile"

This reverts commit b110b5a.

These changes were pushed here by mistake; they belong on QTDI-3696 (#1305).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
thboileau pushed a commit that referenced this pull request Oct 28, 2026
This reverts commit a405c5f.

These changes were pushed here by mistake; they belong on QTDI-3696 (#1305).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
thboileau pushed a commit that referenced this pull request Oct 28, 2026
…profile"

This reverts commit b110b5a.

These changes were pushed here by mistake; they belong on QTDI-3696 (#1305).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
thboileau added a commit that referenced this pull request Oct 29, 2026
2 backports and one specific fix for code, several fixes for CI:

 - https://qlik-dev.atlassian.net/browse/QTDI-2101
 - https://qlik-dev.atlassian.net/browse/QTDI-113: only the part for the junit4 tests of component-runtime-testing module
 - gradle-core dependency: due to a recent update of the oss.sonatype.org repository, dependencies has been explicitly added
 - CI: upgrade of  trivy version and complete missing parts of CI.


* chore(QTDI-3696): Align Jenkinsfile with master and add SONAR profile

Fixes the Sonar analysis failing with "profile SONAR not found" on
maintenance/1.64:
- take Jenkinsfile and .jenkins/settings.xml from master (Sonar token
  credentials, tqa-e2e-tests-tool 2.6.13-ttp2, split Nexus/Sonatype/
  GitHub Packages deploy stages)
- add the SONAR profile and the sonar-maven-plugin management to pom.xml

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

* fix(QTDI-3696): move daikon logging-event-layout to ci-build profile

Backport of ddc5dae from master. The dependency is only needed in
Jenkins builds; resolving it elsewhere (e.g. the GitHub "Automatic
Dependency Submission" submit-maven check) fails with a 401 on the
TalendOpenSourceRelease Nexus. Jenkins sets JENKINS_URL so CI and release
builds still include it.

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

* fix(QTDI-3696): backport API test CI setup from master

The TCOMP-api-test job fails on maintenance/1.64 because its pod still
uses the legacy root docker:19.03.1-dind sidecar (the docker-daemon
container terminates with ContainerError) and its Jenkinsfile calls
.jenkins/scripts/asdf_install.sh, which does not exist on this branch.

Take talend-component-maven-plugin/src/it/web/.jenkins/ as-is from master
(rootless dind pod and PVCs, JenkinsPodConfig/JenkinsStatusController
helpers, /home/jenkins paths). Only CI files are touched.

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

* fix(QTDI-3656): Upgrade JDK to 17.0.21+9 for CVE-2026-91403

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

* fix(QTDI-3656): Bump TSBI base image to 5.3.25

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

* Ensure to get org.gradle modules from the grade repository

* fix(QTDI-3656): add @JsonbTransient to Schema.getEntriesOrdered()

JDK-8339822 (17.0.14+) changed java.beans.Introspector behavior for default
interface methods, so JSON-B started serializing 'entriesOrdered'.

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

* fix(QTDI-3656): add @JsonbTransient to Schema.getEntryMap()

Same JDK-8339822 Introspector change: JSON-B now calls the default
getEntryMap() which throws UnsupportedOperationException, causing HTTP 500
in ActionResourceImplTest.checkSchemaSerialization.

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

* fix(QTDI-3656): align Schemas with Schema JsonbTransient changes

Transposes the Schemas.java part of #1119 (QTDI-2101): getEntriesOrdered()
returns an empty list and getEntriesOrdered(Comparator) is @JsonbTransient.

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

* fix(QTDI-3656): set explicit Accept header in HTTP capture tests

The JDK's default HttpURLConnection Accept header changed in recent
17.0.x updates ('*; q=.2, */*; q=.2' -> '*/*; q=0.2'). Set it explicitly
as already done on master.

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

* Revert "fix(QTDI-3656): backport API test CI setup from master"

This reverts commit a405c5f.

These changes were pushed here by mistake; they belong on QTDI-3696 (#1305).

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

* Revert "fix(QTDI-3656): move daikon logging-event-layout to ci-build profile"

This reverts commit b110b5a.

These changes were pushed here by mistake; they belong on QTDI-3696 (#1305).

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

* fix(QTDI-3656): declare gradle-core transitive modules explicitly

A gradle-core:3.0 pom cached from a repository serving a stub (central) is
reused whatever the repositories order, leaving its transitive modules
(gradle-base-services, -logging, ...) off the classpath and failing the
compilation of the Gradle plugin. These modules only exist on repo.gradle.org.

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

---------

Co-authored-by: fdesiles <52663885+fdesiles@users.noreply.github.com>
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.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.

2 participants