549 Commits

Author SHA1 Message Date
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
Clément Fournier
ba73de2389 Merge branch 'java-usage-resolver' into java-dfa-reaching-defs-unused-assignment-singular-field-that-kind-of-thing 2020-11-18 17:48:54 +01:00
Clément Fournier
812c5b13ad Merge branch 'java-rule-bulk-update' into java-usage-resolver 2020-11-18 17:48:42 +01:00
Clément Fournier
4776178b58 Merge branch 'java-new-xpath-functions' into java-rule-bulk-update 2020-11-15 16:10:47 +01:00
Andreas Dangel
a99e205a54 Merge branch 'master' into pmd/7.0.x 2020-11-14 20:34:49 +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
bad14719c0 Merge branch 'master' into pmd/7.0.x 2020-11-14 19:35:13 +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
Andreas Dangel
8c087e9357 Describe workaround for failing downloads 2020-11-13 19:43:55 +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
15fc3f8fc4 Try again with wagon options 2020-11-12 19:47:38 +01:00
Andreas Dangel
1edc659456 Take out windows build
It's always failing to download dependencies
2020-11-12 19:15:29 +01:00
Andreas Dangel
df7b75087a Another try with maven.wagon.http.pool=false 2020-11-12 18:57:35 +01:00
Andreas Dangel
11932a140d Try to set wagon options via MAVEN_OPTS 2020-11-12 18:35:04 +01:00
Andreas Dangel
3d0f5b0a6c Try disable http pooling 2020-11-12 17:59:43 +01:00
Andreas Dangel
623213e528 Add unzip and timezone 2020-11-12 16:46:35 +01:00
Andreas Dangel
c4197fb852 Remove unsupported --no-progress-meter for curl 2020-11-12 16:14:09 +01:00
Andreas Dangel
6b2b33bdec Add docker for testing 2020-11-12 16:13:02 +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
7b3a1beeae Remove potential old stale bundle config 2020-11-12 12:17:27 +01:00
Andreas Dangel
7691f8ff24 Add debugging hints 2020-11-12 11:55:05 +01:00
Andreas Dangel
4628664545 Add regression-tester for updating baseline 2020-11-12 11:54:51 +01:00
Andreas Dangel
865e35439b Implement check-environment 2020-11-12 11:43:16 +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
Andreas Dangel
e0a4fafcf4 Make sure to not log secrets while loading 2020-11-12 09:47:55 +01:00
Andreas Dangel
b42a358844 Add workaround for connection timeouts 2020-11-12 09:44:17 +01:00
Andreas Dangel
14548e7b80 Integrate setup secrets into build.sh, add env.gpg, add sourceforge upload 2020-11-11 22:56:02 +01:00
Andreas Dangel
8970b7fcd8 Fix install-openjdk.sh 2020-11-11 21:15:13 +01:00
Andreas Dangel
2e1615d7ab Fix wget download of openjdk 2020-11-10 22:34:14 +01:00
Andreas Dangel
3d4928dfbb Initial version of new ci scripts 2020-11-10 22:26:26 +01:00