81 Commits

Author SHA1 Message Date
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
Andreas Dangel
13774182b6 Disable debug logging 2020-11-14 17:41:06 +01:00
Andreas Dangel
4f2e8b6c8f Fix docu 2020-11-14 14:18:04 +01:00
Andreas Dangel
4246cb77ca Add sonar and coveralls jobs 2020-11-14 12:33:31 +01:00
Andreas Dangel
e10198402a Apparently spring-framework doesn't build anymore without maven central 2020-11-14 10:54:29 +01:00
Andreas Dangel
e686d07263 Update test instructions 2020-11-14 10:07:34 +01:00
Andreas Dangel
c19d1823a2 Don't check rule docs on pull requests
This check fails under Windows
2020-11-13 22:08:28 +01:00
Andreas Dangel
244ef6157d Add missing tool zip 2020-11-13 21:37:45 +01:00
Andreas Dangel
9659a663e9 Add missing include install-openjdk 2020-11-13 21:03:41 +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