The Jenkins pipeline that installs, builds, tests, validates, and analyzes the workbench, plus the separate code coverage job.
The graphdb-workbench project uses a Jenkins pipeline to automate installation, testing, building, validation, and SonarQube analysis.
The pipeline is configured to execute the following steps:
If new static folders are created in the dist folder to be published (or old ones are renamed), they must be added to the BE Spring Security configuration. Failure to do so will prevent the server from serving these resources, causing the Workbench to malfunction.
nodejs-22 Jenkins tool)SONAR_ENVIRONMENT=SonarCloudaws-large nodesnpm run install:cinpm run build in the same Dockerized environmentnpm run lintnpm run validatetranslation-report.json regardless of outcomemaster: regular scannpm run testpackages/shared-componentsdocker-compose.yaml)master branche2e-tests/fixturesdocker-compose-test.yamlconfigFileProviderCode coverage is run in a separate Jenkins job, which is triggered manually on demand, typically for feature branches.
Find the graphdb-workbench-coverage job in Jenkins.
Start it using the Build with Parameters option, specifying the Git branch you want to analyze.
After the job completes, the final HTML report with the results is available as a build artifact in Jenkins.
See also: Developers Guide