diff --git a/.ci/matrix_job.yaml b/.ci/matrix_job.yaml index b4f80e36e..9a14dcbe9 100644 --- a/.ci/matrix_job.yaml +++ b/.ci/matrix_job.yaml @@ -162,6 +162,15 @@ runs_on_dockers: build_args: '--no-cache --target unit-test', category: 'tool', } + - { + file: '.ci/dockerfiles/Dockerfile.ubuntu22.04', + arch: 'x86_64', + name: 'documentation_test', + uri: 'xlio/$arch/ubuntu22.04/$name', + tag: '20250219', + category: 'tool', + build_args: '--no-cache --target build', + } runs_on_agents: - {nodeLabel: 'beni09', category: 'base'} @@ -485,6 +494,16 @@ steps: archiveArtifacts: 'logs/' credentialsId: 'blackduck_api_token' + - name: Documentation Test + enable: ${do_documentation_test} + containerSelector: + - "{name: 'documentation_test'}" + agentSelector: + - "{nodeLabel: 'skip-agent'}" + run: | + python3 generate_docs.py + python3 src/core/config/generate_mappings.py + pipeline_start: run: | printenv diff --git a/.ci/opensource_jjb.yaml b/.ci/opensource_jjb.yaml index a5aff643d..496f8b4ae 100644 --- a/.ci/opensource_jjb.yaml +++ b/.ci/opensource_jjb.yaml @@ -93,6 +93,10 @@ name: "do_valgrind" default: true description: "Use valgrind." + - bool: + name: "do_documentation_test" + default: true + description: "Execute documentation tests." - bool: name: "do_commit" default: true