142 Commits

Author SHA1 Message Date
Andreas Dangel
ddb60b0163 [ci] Upgrade to AdoptOpenJDK 11.0.4 B11 2019-07-20 10:30:30 +02:00
BBG
bf70954698 [ci] create a corresponding travis remote branch locally 2019-05-05 14:59:25 +08:00
BBG
2057fc3919 [ci] fix missing local branch issues 2019-05-02 00:01:23 +08:00
Andreas Dangel
84c8e51913 Support openjdk11 for macosx as well 2019-04-27 17:39:50 +02:00
Andreas Dangel
cf4658fd3d Support openjdk11 for macosx as well 2019-04-27 17:20:05 +02:00
Andreas Dangel
32d0fd34a8 Support openjdk11 for macosx as well 2019-04-27 16:54:28 +02:00
Andreas Dangel
c9ec3ae63c Use openjdk 11.0.3 2019-04-27 16:22:21 +02:00
Andreas Dangel
bb071d68e2 [ci] Update release signing key 2019-03-30 18:56:59 +01:00
Andreas Dangel
916d55107c [ci] Sign also snapshot builds to test the release signing key 2019-03-30 18:49:51 +01:00
Andreas Dangel
d17668e38d [ci] Use travis wait for executing pmdtester
This is a workaround for pmd/pmd-regression-tester#60
We might also have now new rules which makes the whole PMD
execution take longer.
2019-03-08 15:29:46 +01:00
Andreas Dangel
9e8fc3f4a2 [ci] Release Notes are not generated and uploaded automatically
Fixes #1695

We need to call ruby via bundler to have all the installed gems available.
2019-02-25 20:12:45 +01:00
Andreas Dangel
dd66f9c5a2 [ci] fix path to travis_wait, more usages of travis_wait 2019-01-27 19:39:31 +01:00
Andreas Dangel
b0eb46379e [ci] Fail the build if uploading the baseline fails 2019-01-27 18:31:21 +01:00
Andreas Dangel
017b6c3275 [ci] use travis_wait while uploading to sourceforge 2019-01-27 18:30:57 +01:00
Andreas Dangel
09c0e298f4 Use travis_wait from https://github.com/m3t/travis_wait
since it's not available in deploy phase on travis
2018-12-09 11:01:26 +01:00
Andreas Dangel
1f76eb062c Also checkout /sitemap.xml during release
Fixes #1328
2018-11-25 14:37:54 +01:00
Clément Fournier
5fb0cf576b Releasable 2018-11-14 22:30:00 +01:00
Clément Fournier
39f87ca5f3 Update schema location in rulesets 2018-10-27 21:02:16 +02:00
Andreas Dangel
e58ad9ef84 [ci] Install bundles into vendor/bundle, fix bundle config when calling pmdtester 2018-10-07 10:57:39 +02:00
Andreas Dangel
a8683e18a8 [ci] call pmdtester via bundler
Since we are in a different directory than we were when installing
the gems, we need to setup bundle path before.
2018-10-06 20:23:03 +02:00
Andreas Dangel
4df81222ff Add more logging during release 2018-09-30 11:26:26 +02:00
Andreas Dangel
848a0761fe Fix release scripts
* fix language var LANG
* fix bundle install command
* automate creation of release notes post in pmd.github.io
* add var "is_release_notes_processor"
* Always install the gems for rendering release notes
2018-09-02 15:31:01 +02:00
Andreas Dangel
acdab9df56 [ci] Fix java10 installation for sonar 2018-09-02 12:31:11 +02:00
Andreas Dangel
7a8847bacb [ci] Fix sonar configuration
For now, we need to use java10 with sonar, until sonarjava 5.8.0
is released, which adds support for java11.
Apparantly sonar also loads the classfiles and can't yet load
java11 classes, leading to many errors
"Unsupported class file major version 55" while analyzing
the project.

Also update SONAR_TOKEN

See https://jira.sonarsource.com/browse/SONARJAVA-2877
2018-09-02 12:15:45 +02:00
Andreas Dangel
c9f686903e [ci] Coveralls hasn't built the project since June 25th
The previous fix was not enough. Coveralls maven plugin depends on
javax.xml.bind, which has been removed with JDK11, since it is
a EE feature.

Workaround is now, to add the jaxb-api as a plugin dependency, so
that the utility class javax.xml.bind.DatatypeConverter is
available.

Fixes #1317
2018-09-02 10:53:02 +02:00
Andreas Dangel
921d4190d7 [ci] Coveralls hasn't built the project since June 25th
Fixes #1317
2018-09-01 23:15:29 +02:00
Andreas Dangel
2264d3c964 [ci] Fix sonar / coveralls build after switching to jdk 11
Also update jacoco plugin to 0.8.2
2018-09-01 23:11:12 +02:00
Juan Martín Sotuyo Dodero
bec314ef27 Merge branch 'pr-1266' 2018-09-01 16:13:02 -03:00
Andreas Dangel
0a026a8142 [ci] pmd-regression-tester - disable exit immediately for uploading baseline
See also pmd/pmd-regression-tester#40
It fails at the very last step (determining result code), so
the baseline is created and can be uploaded.
2018-08-30 10:38:41 +02:00
Clément Fournier
5e2b4a8d5c Merge branch 'master' into tocmaker-tag 2018-08-27 02:40:24 +02:00
Clément Fournier
3269f3a6ca Render release notes before pushing to sourceforge 2018-08-19 17:24:30 +02:00
Clément Fournier
53b2b288ac Generate the release notes' toc 2018-08-18 17:34:48 +02:00
Andreas Dangel
eb03003f66 Cache bundles on travis, use bundle exec 2018-08-17 10:43:12 +02:00
Andreas Dangel
c4857aaa20 [ci] Use openjdk11 for building, add osx into the build matrix
* Allow travis to cache jdk
* cache $HOME/.rvm, install bundler with current rvm ruby (needed for osx)
2018-08-15 23:24:41 +02:00
Clément Fournier
22c143f6e6 Take snapshot into account 2018-08-15 03:30:34 +02:00
Clément Fournier
b8fb9bd63f Remove logger 2018-08-15 02:46:54 +02:00
Clément Fournier
9d8a8d74fb Update release.sh 2018-08-15 02:43:25 +02:00
Clément Fournier
ba19c59bdb Add logger 2018-08-15 01:54:12 +02:00
Andreas Dangel
5316dd061b Merge branch 'pr-1254' 2018-07-30 10:46:11 +02:00
BBG
2b0e9e0ccf danger integration 2018-07-30 00:11:02 +08:00
Andreas Dangel
5caee3190a [ci] more logging for pmd.github.io push, fix docs upload, fix baseline for tags 2018-07-29 13:58:12 +02:00
BBG
f49cd01637 fix comments 2018-07-22 00:45:16 +08:00
BBG
3f030a2784 upload baseline of pmdtester automatically 2018-07-21 00:53:39 +08:00
Andreas Dangel
d6ec50b20f [ci] Include travis build number and commit range in commit messages 2018-06-30 16:20:01 +02:00
Andreas Dangel
6996b8e51d [ci] Add more logging to build/deploy/release scripts 2018-06-30 16:05:55 +02:00
Andreas Dangel
a89d5413ab [ci] [docs] Improved detection for changes in documentation
Now only updating docs on sourceforge, if there are changes
2018-06-20 20:57:27 +02:00
Andreas Dangel
d3482ecd58 [ci] [docs] Improved detection for changes in documentation 2018-06-20 20:08:30 +02:00
Andreas Dangel
8f49328bfa [ci] [doc] Skip updating gh-pages, if only feed.xml changed 2018-06-19 09:04:08 +02:00
Andreas Dangel
0ed13477ad [ci] [doc] call git config for the freshly cloned repo 2018-06-16 22:47:20 +02:00
Andreas Dangel
9df2aed725 Add logging 2018-05-31 13:06:39 +02:00