109 Commits

Author SHA1 Message Date
Andreas Dangel
804e4d188a
[ci] Allow building of branch "experimental-apex-parser"
It should build like a pull request
2022-08-24 19:41:08 +02:00
Andreas Dangel
02a7d4e0dd
Use maven-pmd-plugin 3.18.0-pmd7-SNAPSHOT for pmd7 2022-06-13 18:18:43 +02:00
Andreas Dangel
872111f2a1
chore: retry git push sync
During the release it can happen, that two pushes are executed fast one after another.
This could lead to gh action jobs overlapping while trying to push to sourceforge leading
to errors like "remote: error: cannot lock ref 'refs/heads/master': is at XXX but expected
YYY".
2022-06-09 14:59:07 +02:00
Andreas Dangel
9d23d79802
[ci] regression test - skip patching/building spring
The regression tester now does not anymore
execute a "git reset"... and the patched
files stay in place in the github actions cache.
2022-05-13 18:40:05 +02:00
Andreas Dangel
0973206dda
[ci] Update project-list.xml
- use same exclusion in pmd6 and pmd7 for checkstyle
- use original repos with commit sha1 for fflib-apex-common and Schedul-o-matic-9000
2022-05-06 14:48:52 +02:00
Andreas Dangel
2b21e260e5
Merge branch 'master' into regression-tester-update 2022-03-24 16:19:23 +01:00
Andreas Dangel
16fb7a546a
Use forked repos and tag "pmd-regression-test" 2022-03-18 16:34:48 +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
5f9e2d4426
[ci] Fix project-list for spring
We modify (among other files) AutowiredAnnotationBeanPostProcessor.java
but only, when we intend to build the project. This leads to
the situation, that the baseline was created against the
modified file, but PRs use the unmodified file. This is because
the regression-tester does a "git reset --hard" before running
PMD.
2022-03-17 12:29:48 +01:00
Andreas Dangel
5ed04ea5a0
Fix build.sh 2022-02-18 14:48:18 +01:00
Andreas Dangel
c33880b217
[ci] Run dogfood for PRs and PMD7
This unifies the build configuration. The dogfood build
is now run also for PRs.
2022-02-18 14:40:02 +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
eb24a20460
Merge branch 'master' into java17-integration-test 2021-11-25 10:19:13 +01:00
Andreas Dangel
47938e674d
Bump build-tools from 17-SNAPSHOT to 17 2021-11-25 10:08:30 +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
cb8158cd90
[ci] Upgrade checkstyle test project to version 9.1 2021-11-19 08:50:31 +01:00
Andreas Dangel
d7774be75e
[dist] Add java17, make ant test fail 2021-11-18 11:10:53 +01:00
Andreas Dangel
cbba7ec05c
Revert "[ci] Remove DANGER_GITHUB_API_TOKEN"
This reverts commit 23e5e2d8b478133fec4149d9bd0e7d35c0335640.

We still need a separate token for danger.
2021-10-15 22:36:56 +02: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
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