131 Commits

Author SHA1 Message Date
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
Andreas Dangel
0263f658c6 Merge branch 'master' into improve-doc-site-navigation 2018-05-31 13:04:53 +02:00
Andreas Dangel
39ca8e2e51 Make the commit quiet 2018-05-31 13:03:20 +02:00
Andreas Dangel
cce2ede528 Push the generated site to gh-pages branch 2018-05-31 12:41:00 +02:00
Juan Martín Sotuyo Dodero
31667cdb89 Fix reference to sitemap_generator.sh 2018-05-29 14:56:54 -03:00
Andreas Dangel
19d65171bd Rename colors.sh -> logger.sh 2018-05-24 19:20:12 +02:00
Andreas Dangel
281f151197 Use log_info, log_error, log_success functions instead of the colors 2018-05-24 19:18:57 +02:00
Andreas Dangel
ac9f0ac1d4 [ci] Add colors, don't fail the build/release if upload to sourceforge fails 2018-05-22 20:29:32 +02:00
Andreas Dangel
958c509209 [ci] Upload the generated documentation to pmd.sourceforge.net as well 2018-05-22 20:29:32 +02:00
Clément Fournier
8c34397397 Use "latest" in sitemap instead of the other 2018-05-18 02:19:20 +02:00
Clément Fournier
cc9bd77560 Use standard output instead of hardcoding output file 2018-05-18 02:10:41 +02:00
Clément Fournier
3687f9308e Plug into release.sh 2018-05-18 01:51:05 +02:00