[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:
@ -42,7 +42,7 @@ def run_pmdtester
|
|||||||
@base_branch = 'master'
|
@base_branch = 'master'
|
||||||
@logger.info "\n\n--------------------------------------"
|
@logger.info "\n\n--------------------------------------"
|
||||||
@logger.info "Run against #{@base_branch}"
|
@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
|
# move the generated report out of the way
|
||||||
FileUtils.mv 'target/reports/diff', 'target/diff2'
|
FileUtils.mv 'target/reports/diff', 'target/diff2'
|
||||||
|
Reference in New Issue
Block a user