[ci] Fix pmd-regression-tester calls for PRs against pmd/7.0.x

In that case, we should run the regression tests against master
with the same ruleset as used for pmd/7.0.x in the previous
run.
This commit is contained in:
Andreas Dangel 2022-04-12 19:20:56 +02:00
parent 654c8bdb14
commit 45cb0a0a35
No known key found for this signature in database
GPG Key ID: 93450DF2DF9A3FA3

View File

@ -42,7 +42,7 @@ def run_pmdtester
@base_branch = 'master'
@logger.info "\n\n--------------------------------------"
@logger.info "Run against #{@base_branch}"
@summary = PmdTester::Runner.new(get_args(@base_branch)).run
@summary = PmdTester::Runner.new(get_args(@base_branch, FALSE, 'target/diff1/patch_config.xml')).run
# move the generated report out of the way
FileUtils.mv 'target/reports/diff', 'target/diff2'