91 Commits

Author SHA1 Message Date
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
23e5e2d8b4 [ci] Remove DANGER_GITHUB_API_TOKEN 2021-10-15 11:57:41 +02:00
Andreas Dangel
5770785847 [ci] Remove profile "pmd-dogfood" as this doesn't work well with release
Use alternative solution by modifying the version directly
in pom.xml for dogfood build.
2021-08-19 19:24:37 +02:00
Andreas Dangel
6c90ad2cba [ci] Don't run PMD dogfood test for PMD 7
The current maven-pmd-plugin 3.14.0 is not yet compatible
with the major version upgrade of PMD 7.
2021-07-16 12:14:04 +02:00
Andreas Dangel
bc9034b3b2 Merge pull request #3410 from adangel:ci-fetch-commits-for-danger
[ci] Fetch more commits for danger and regression tester #3410
2021-07-16 11:12:08 +02:00
Andreas Dangel
b54f9a2730 [ci] Fetch more commits for danger and regression tester 2021-07-16 09:13:58 +02:00
Andreas Dangel
b62190686d [ci] Run PMD on PMD with the latest snapshot
This is only executed on push builds. In order to do this,
we must change the version temporarily to avoid a circular
dependency to ourselves.

The latest version is brought in via the maven profile "pmd-dogfood"
and the property "pmd.dogfood.version".
2021-07-08 11:45:12 +02:00
Andreas Dangel
907abd0677 [ci] Add openjdk-11 as pmd-regression-tester project 2021-06-24 15:01:26 +02:00
Andreas Dangel
472d9861e0 [ci] Add batch mode flag when building checkstyle 2021-06-20 18:32:46 +02:00
Andreas Dangel
0311101d0e [ci] Update DANGER_GITHUB_API_TOKEN 2021-05-20 14:07:43 +02:00
Andreas Dangel
8489f8c4d6 [ci] Don't run unnecessary build during release 2021-04-24 18:00:54 +02:00
Andreas Dangel
4c21e4069d [ci] Fix paths on sourceforge
The artifacts where uploaded to the wrong path.
That's maybe the reason, why selecting the default download
failed during the release.
2021-04-24 17:19:30 +02:00
Andreas Dangel
6730371da2 [ci] stop early for invalid maven version and branch/tag combination 2021-04-22 14:44:23 +02:00
Andreas Dangel
2ad755f963 [ci] Add git-repo-sync 2021-04-18 19:50:52 +02:00
Andreas Dangel
381395d13f [ci] Create a news entry on sourceforge when releasing 2021-04-18 19:08:51 +02:00
Andreas Dangel
dc56e6eed6 [ci] Move doc to pmd/build-tools 2021-04-18 16:57:52 +02:00
Andreas Dangel
4241c3713c [ci] Document how to test a release push build 2021-04-18 16:54:43 +02:00
Andreas Dangel
6fda9ad8ed [ci] Remove unnecessary MAVEN_OPTS 2021-04-16 16:00:59 +02:00
Andreas Dangel
5fd66c0e77 [ci] Remove old docker config
The docker from pmd/build-tools should be used instead.
2021-04-16 15:59:57 +02:00
Andreas Dangel
f2e20ec963 [ci] Update docs for testing the builds 2021-04-16 15:57:45 +02:00
Andreas Dangel
6af30afb01 [ci] Fix java7.home path 2021-04-16 09:53:38 +02:00
Andreas Dangel
6e57cc5563 [ci] Update docs for testing the builds 2021-04-15 19:29:22 +02:00
Andreas Dangel
c1f307eb0b [ci] Update doc about pmd build 2021-04-15 18:47:44 +02:00
Andreas Dangel
b896aacabf [ci] Move render_release_notes.rb to docs 2021-04-15 18:20:26 +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
417cc7fcbe [ci] Finish scripts migration, integration sonar+coveralls 2021-04-15 16:20:22 +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
da68997926 Also update build command 2021-02-13 18:54:59 +01:00
Clément Fournier
d617c964e7 Do not log download progress in CI 2021-02-13 18:39:11 +01:00
Andreas Dangel
8e42f6c9ba Merge pull request #3061 from oowekyala:typeres-fix-method-calls
[java] Fix method calls in type resolution #3061
2021-01-21 18:01:23 +01:00
Andreas Dangel
a90b2ea524 [ci] Exclude generated sources for regression tester 2021-01-21 17:57:03 +01:00
Andreas Dangel
a34ae3eea1 [ci] Compile tests of spring framework for regression tester
The test classes have not been compiled, that's why the typeres
can't always resolve the classes.
2021-01-21 16:56:19 +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
ba0e9ec7d1 [ci] Install needed gems before rendering release notes (#2967) 2020-12-12 11:29:36 +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
fcbccbce43 [ci] Fix do-release.sh script 2020-12-04 17:57:56 +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
bc4938087a [ci] Only install java7 on Linux, add GITHUB_TOKEN for sonar 2020-11-14 20:29:27 +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