47 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
fa01fcd38b [ci] Upgrade to ruby 3
Fixes #4776
2024-02-15 20:28:34 +01:00
Andreas Dangel
ce6a3e25a1 Merge branch 'master' into fix-assembly-finalName 2023-05-28 09:02:21 +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
d77ebbe9b7 Fix assembly-plugin warnings
Don't override "finalName" anymore. This however changes the filenames of the generated binary distribution files.
2023-04-06 11:38:46 +02:00
Andreas Dangel
910d3178db [doc] Fix urls for documentation
- Don't publish the doc anymore to pmd.github.io - the docs are now hosted at docs.pmd-code.org
- Update sitemap.xml - no extra sitemap generation anymore
2023-03-30 12:35:21 +02:00
Andreas Dangel
9f05cf9d8d [ci] Prepare scripts for rc1 release [skip ci]
- allow to set RELEASE_VERSION, LAST_VERSION and DEVELOPMENT_VERSION manually
- backport build.sh - to be in sync with pmd7 branch
- allow to deploy SNAPSHOT doc after release with same version
2023-03-02 16:45:31 +01: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
bad17fe6eb [ci] Add --sparse option when publishing documentation
This is needed since git 2.34.0
See https://github.com/git/git/blob/master/Documentation/RelNotes/2.34.0.txt
2021-11-27 12:04:18 +01:00
Andreas Dangel
769639f3b6 [ci] Upgrade spring-framework test project to v5.3.13 2021-11-19 10:43:38 +01:00
Andreas Dangel
4bfb35cb86 Use GITHUB_TOKEN or deploy key
Also use pmd-bot@users.noreply.github.com as committer email.
2021-10-15 12:09:22 +02:00
Andreas Dangel
b54f9a2730 [ci] Fetch more commits for danger and regression tester 2021-07-16 09:13:58 +02:00
Andreas Dangel
c1f307eb0b [ci] Update doc about pmd build 2021-04-15 18:47:44 +02:00
Andreas Dangel
c384bb8732 [ci] Fix shellcheck issues 2021-04-15 18:16:32 +02:00
Andreas Dangel
640b3fcab3 [ci] Fix shellcheck issues 2021-04-15 16:44:17 +02:00
Andreas Dangel
10c6906f0f [ci] First round of migration to new build scripts 2021-04-15 15:26:33 +02:00
Andreas Dangel
ab416a19ff Bump dokka from 1.4.10.2 to 1.4.30
Remove workaround for Kotlin/dokka#1644
2021-04-15 14:23:16 +02:00
Clément Fournier
79c1bd74e2 Use batch mode instead 2021-02-13 19:09:20 +01:00
Clément Fournier
d0721de473 Make dependency plugin silent as well 2021-02-13 19:05:03 +01:00
Clément Fournier
d617c964e7 Do not log download progress in CI 2021-02-13 18:39:11 +01: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
1ae70c2fa0 [ci] Fix config for bundler for executing pmdtester 2021-01-08 16:10:04 +01:00
Andreas Dangel
fde4d08213 [ci] Fail if baseline couldn't be created/uploaded 2021-01-08 16:09:56 +01:00
Andreas Dangel
0488c853e3 [ci] Fix creating regression tester baseline for release builds (#2967) 2020-12-12 12:06:59 +01:00
Andreas Dangel
139a3f6103 [ci] Fix build in trunk (#2967)
The same problem would have occurred for the release build.
2020-12-12 11:19:23 +01:00
Andreas Dangel
f787e3a8e5 [ci] Fetch more commits from master for regression testing PRs
That only needed for pmd/7.0.x PRs
2020-11-25 11:37:30 +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
4147d09771 [ci] Windows needs maven_dependencies_resolve
* Use the same build script for Windows+MacOS as for PRs
* Also install java7 for PRs (that was missing from the old travis solution)
* Run coveralls and sonar in parallel to win/macos after linux
2020-11-14 19:27:40 +01:00
Andreas Dangel
13774182b6 Disable debug logging 2020-11-14 17:41:06 +01:00
Andreas Dangel
5cc5e34b7e Fix maven-dependencies 2020-11-13 20:45:11 +01:00
Andreas Dangel
e2514c546c Implement release builds 2020-11-13 20:34:37 +01:00
Andreas Dangel
825e3426d7 Fetch more commits of the PR for danger 2020-11-13 17:15:53 +01:00
Andreas Dangel
a5c7f3c77a Increase fetch depth so that danger finds the HEAD commit of the PR 2020-11-13 15:56:05 +01:00
Andreas Dangel
e8525008b2 Move install-openjdk into main script, add check-environment 2020-11-13 15:35:16 +01:00
Andreas Dangel
9877ea7f96 Add logging groups 2020-11-13 14:44:39 +01:00
Andreas Dangel
7e35165c01 Externalize tokens for Danger, use correct base branch ref 2020-11-13 14:27:26 +01:00
Andreas Dangel
6e81754078 There are no secrets in pull requests 2020-11-13 12:01:28 +01:00
Andreas Dangel
70f2c56888 Resolve maven dependencies before building
This tries to solve build timeouts while downloading dependencies.
Also the job timeout for PRs is 30 minutes - if it takes longer,
something is wrong.
2020-11-13 11:37:05 +01:00
Andreas Dangel
295505af5b Integrate danger for pull requests 2020-11-12 13:11:56 +01:00
Andreas Dangel
55dcd77458 Copy files from old .travis directory 2020-11-12 12:29:19 +01:00
Andreas Dangel
4628664545 Add regression-tester for updating baseline 2020-11-12 11:54:51 +01:00
Andreas Dangel
cf656cc558 Fix path for maven settings, remove progress-meter while downloading 2020-11-12 11:42:50 +01:00
Andreas Dangel
0f14066adc Use github job infos 2020-11-12 10:42:19 +01:00
Andreas Dangel
328d2ad828 Move includes into inc/ and files into files/, add pmd_doc support 2020-11-12 10:17:44 +01:00