Andreas Dangel
b0a854619c
Revert "[ci] Fix build on travis when gpg tries to sign"
...
This reverts commit bb0813547cc85e2dd0b9c9f559c6620410ff058c.
2019-11-01 11:26:18 +01:00
Andreas Dangel
bb0813547c
[ci] Fix build on travis when gpg tries to sign
...
See https://unix.stackexchange.com/questions/257061/gentoo-linux-gpg-encrypts-properly-a-file-passed-through-parameter-but-throws-i/257065#257065
GPG_TTY needs to be set for gpg to work properly.
It seems that with the switch to travis/bionic, this env variable
is not set anymore automatically
2019-11-01 11:02:31 +01:00
Andreas Dangel
7f31ad186b
[ci] Prevent doc build from deploying the binary distribution
...
The documentation build should only deploy the pmd-doc*.zip
artefacts and not more.
2019-10-26 12:00:41 +02:00
Andreas Dangel
6e6adb9710
[ci] Generate the rule documentation also for pull requests
...
This will execute the DeadLinksChecker and RuleTagChecker
after the rule documentation has been generated.
2019-10-26 11:56:06 +02:00
Andreas Dangel
c134f23d7c
Move all doc checks into the profile "generate-rule-docs"
2019-10-26 11:52:20 +02:00
Andreas Dangel
4ee8e65417
Upload release notes with the "docs" build.
...
The github release is first created as a draft, when we edit
the release notes, we publish it (draft=false), so that the
release notification mail contains the full release notes.
2019-10-26 11:52:20 +02:00
Andreas Dangel
7ae9247518
Generate rule docs only with maven profile "generate-rule-docs"
...
For travis build, PMD needs to be built now before jekyll can
generate the documentation.
In the main build, rule docs are not committed anymore.
2019-10-26 11:51:33 +02:00
Andreas Dangel
2b66fb76cb
Merge branch 'master' into travis-windows
2019-10-25 14:27:17 +02:00
Andreas Dangel
1209b162a9
[ci] Explicitly configure known_hosts for web.sourceforge.net
2019-10-24 20:29:16 +02:00
Andreas Dangel
ce05b1bbb6
[ci] Remove explicit ruby version, use the default
2019-10-18 19:48:14 +02:00
Andreas Dangel
c3409c4aa7
[ci] Download openjdk from https://pmd-code.org/openjdk/
...
* Note: Download is only possible from travis
* Make openjdk version configurable in .travis.yml
* Skip download, if already downloaded
2019-10-18 19:47:18 +02:00
Andreas Dangel
23109d7b69
[ci] Add travis build on windows
...
* New parallel build for windows
* New before_install.sh script that prepares java, maven, ruby
2019-10-18 19:47:13 +02:00
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