26 Commits

Author SHA1 Message Date
Andreas Dangel
91f17838d4
Change branch master to main
- Update documentation
- Update release scripts
- Update rule doc generation

GitHub Action is only triggered from "main" branch now.
2024-09-13 09:59:51 +02:00
Andreas Dangel
11b8fa2f45
[ci] Improve Dangerfile
- Fix FALSE -> false
- Add ?pr=123 to the download link for the report
2024-04-26 15:55:37 +02:00
Andreas Dangel
828bcaa89b
Fix Dangerfile 2024-02-15 21:25:08 +01:00
Andreas Dangel
8681e8d7f9
[ci] Update Dangerfile - fix link to download regression report
[skip ci]
2023-08-12 11:12:30 +02:00
Andreas Dangel
faa2d0ae56
[ci] Stop uploading regression tester record to chunk.io 2023-08-10 17:48:01 +02:00
Andreas Dangel
6ade09a840
[ci] Run pmd-regression-tester with multiple threads
Also build the baseline with multiple threads.
2023-05-05 12:46:48 +02:00
Andreas Dangel
45cb0a0a35
[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.
2022-04-12 19:20:56 +02:00
Andreas Dangel
fbcfebd1a9
[ci] Add apex projects for regression testing
Refs #2693

Dangerfile is copied from pmd/7.0.x and
adjusted slightly: autogen is used now for both
branches again.
2022-03-18 15:48:08 +01:00
Andreas Dangel
d24b367ae4
[ci] Use proper file extension tar.gz for regression report upload 2021-06-24 08:53:27 +02:00
Andreas Dangel
8f2f71b4ec
[ci] gzip regression report before uploading 2021-06-20 18:31:31 +02:00
Andreas Dangel
19bc8bdff8
[ci] Display size of uploaded regression report 2021-06-20 18:30:53 +02:00
Andreas Dangel
9158c9f439 [ci] Update pmdtester to 1.1.1, disable debug 2021-01-16 10:12:32 +01:00
Andreas Dangel
83bc024fd3 [ci] Enable debug mode for pmdtester 2021-01-08 16:10:04 +01:00
Andreas Dangel
ddcc205516 [ci] Fail if danger couldn't execute pmdtester or upload result 2021-01-08 16:10:04 +01:00
Andreas Dangel
ff030d1d2d [ci] Update regression tester
* Remove workaround for pre-downloading baseline
  and add baseline-download-url option
* Remove unnecessary travis_wait
* Add error-recovery flag
2020-11-25 11:26:16 +01:00
Andreas Dangel
ee2005a88c [ci] Upload/download baseline for regression tester from pmd-code.org
Baseline is downloaded before executing regression tester, so
that regression tester just reuses it and doesn't try to
download from sourceforge.

We'll only upload to pmd-code.org.
Sourceforge is commented out for now.
2020-11-24 16:15:06 +01:00
Andreas Dangel
295505af5b Integrate danger for pull requests 2020-11-12 13:11:56 +01:00
Andreas Dangel
6726640b90 [ci] Use new project-list.xml for Danger 2020-10-28 11:50:00 +01:00
Andreas Dangel
a08985c762 [ci] Fix Dangerfile 2020-10-10 17:25:03 +02:00
Andreas Dangel
d227cffdab [ci] Java rule change is not detected
* Use "HEAD" instead of "FETCH_HEAD" for patch branch.
  FETCH_HEAD might change, if another fetch is done. HEAD
  always points to the currently checked out commit, that
  has been built.
* Add --patch-config to use the same config as for the baseline
  (see .travis/regression-tester.sh). However, currently this
  is ignored, when "--auto-gen-config" is used.
* Use long argument names for better readability

Fixes #2820
2020-10-09 11:03:25 +02:00
Andreas Dangel
241195c7bc Use https://chunk.io for uploading
Fixes #2711
2020-08-13 10:06:52 +02:00
Andreas Dangel
ecd60e8e3e Danger: Update PmdTester execution to report also configuration errors
Refs pmd/pmd-regression-tester#57
2019-01-20 20:18:45 +01:00
Andreas Dangel
382aa8e142 Update release notes, refs #1339 2018-09-14 23:01:05 +02:00
BBG
b3a78c4ac6 improve danger message 2018-09-12 16:44:48 +08:00
BBG
aa2a363994 use pmdtester 1.0.0.pre.beta3 2018-08-02 22:35:18 +08:00
BBG
2b0e9e0ccf danger integration 2018-07-30 00:11:02 +08:00