Skip to content

CI: Jenkins/Gitlab integration - phase 1 - #11113

Merged
yosefe merged 8 commits into
openucx:masterfrom
Alexey-Rivkin:gitlab_ci_init
Jan 20, 2026
Merged

yosefe merged 8 commits into
openucx:masterfrom
Alexey-Rivkin:gitlab_ci_init

Conversation

@Alexey-Rivkin

Copy link
Copy Markdown
Contributor

What?

Add Jenkins CI infrastructure for UCX, mirroring Azure DevOps coverage.
Phase 1 includes CPU-only based jobs.

Why?

Run CI on Blossom infrastructure.

How?

  • ci-demo matrix configs for 5 jobs: codestyle, static_checks, build, build_static, coverity
  • Jenkinsfile with GitLab status reporting and MR build deduplication
  • JJB job definitions
  • Reuses existing buildlib/tools/*.sh scripts

@Alexey-Rivkin
Alexey-Rivkin marked this pull request as ready for review January 13, 2026 07:50
@Alexey-Rivkin
Alexey-Rivkin force-pushed the gitlab_ci_init branch 3 times, most recently from ca10d54 to aea24b5 Compare January 13, 2026 14:35
@Alexey-Rivkin
Alexey-Rivkin marked this pull request as draft January 13, 2026 17:51
@Alexey-Rivkin
Alexey-Rivkin force-pushed the gitlab_ci_init branch 4 times, most recently from 6a30ab3 to 765844d Compare January 14, 2026 08:42
Comment thread .ci/jenkins/Jenkinsfile.gitlab Resolved
dpressle
dpressle previously approved these changes Jan 19, 2026
@dpressle
dpressle marked this pull request as ready for review January 19, 2026 11:20
Add pipeline matrix configs for Jenkins CI using the ci-demo library.
These YAMLs define Kubernetes pod specs, docker images, and build steps
that mirror existing Azure pipeline functionality.

Jobs added:
- codestyle: commit title, format, authors, codespell, ctags checks
- static_checks: cppcheck and clang-analyzer via static_checks.sh
- build: multi-OS matrix (17 x86_64 + 4 aarch64 containers)
- build_static: static library build with module support
- coverity: release and devel builds with Coverity analysis

All jobs run on il-ipp-blossom-prod k8s cluster in nbu-swx-nixl namespace.
The gitignore exception ensures *_matrix.yaml files are tracked despite
the existing 'build-*' ignore pattern.

Signed-off-by: Alexey Rivkin <arivkin@nvidia.com>
Add Jenkinsfile that integrates with ci-demo matrix library and
GitLab commit status reporting.

Key features:
- Reports job status to GitLab via gitlabCommitStatus wrapper
- Aborts previous running builds of the same merge request to
  prevent resource waste when new commits are pushed
- Uses TaskListener.NULL for safe environment access on builds

The MR deduplication compares gitlabMergeRequestIid across running
builds and stops older ones, ensuring only the latest commit is
tested for each MR.

Signed-off-by: Alexey Rivkin <arivkin@nvidia.com>
Add JJB configuration defining five UCX CI jobs:
- ucx-codestyle
- ucx-static-checks
- ucx-coverity
- ucx-build
- ucx-build-static

Each job:
- Triggers on MR open and source branch push
- Cancels pending builds on update
- Retains 14 days / 1000 builds history
- Uses shared Jenkinsfile with per-job conf_file parameter

Signed-off-by: Alexey Rivkin <arivkin@nvidia.com>
Signed-off-by: Alexey Rivkin <arivkin@nvidia.com>
Signed-off-by: Alexey Rivkin <arivkin@nvidia.com>
Signed-off-by: Alexey Rivkin <arivkin@nvidia.com>
Comment thread .ci/pipeline/static_checks_matrix.yaml Resolved
Comment thread .ci/pipeline/coverity_matrix.yaml Resolved
Comment thread .ci/pipeline/codestyle_matrix.yaml Resolved
Signed-off-by: Alexey Rivkin <arivkin@nvidia.com>
@Alexey-Rivkin
Alexey-Rivkin force-pushed the gitlab_ci_init branch 5 times, most recently from ef0fba2 to 1722c95 Compare January 19, 2026 15:07
Signed-off-by: Alexey Rivkin <arivkin@nvidia.com>
@dpressle
dpressle requested a review from yosefe January 20, 2026 07:22
@yosefe
yosefe merged commit a346463 into openucx:master Jan 20, 2026
147 checks passed
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