[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:
parent
654c8bdb14
commit
45cb0a0a35
@ -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'
|
||||
|
Loading…
x
Reference in New Issue
Block a user