[ci] Generate rule doc also for pull requests

This commit is contained in:
Andreas Dangel 2024-04-11 14:49:10 +02:00
parent 32b70b1d89
commit 6d9c49858f
No known key found for this signature in database
GPG Key ID: 93450DF2DF9A3FA3

View File

@ -36,7 +36,7 @@ function build() {
if pmd_ci_utils_is_fork_or_pull_request; then
pmd_ci_log_group_start "Build with mvnw"
./mvnw clean install --show-version --errors --batch-mode "${PMD_MAVEN_EXTRA_OPTS[@]}"
./mvnw clean install --show-version --errors --batch-mode -Pgenerate-rule-docs "${PMD_MAVEN_EXTRA_OPTS[@]}"
pmd_ci_log_group_end
# Execute danger and dogfood only for pull requests in our own repository