Skip to content

CI/CD: GitLab CI

Run your test suite in GitLab CI and have results land in Sulu.

Minimal example

yaml
test:
  image: eclipse-temurin:21-jdk
  variables:
    SULU_TOKEN: $SULU_TOKEN
  script:
    - ./gradlew test

Token storage

In your project's Settings → CI/CD → Variables, add a masked variable named SULU_TOKEN. The job inherits it via the variables block.

Linking the launch back to the run

properties
sulu.ci.build.url=${env.CI_PIPELINE_URL}

Per-MR launches

properties
sulu.launch.name=${env.CI_MERGE_REQUEST_TITLE}

Sulu Test Management System