ca299178df
[ci] Use sha1 of release tag for target_commitish when creating gh release
2019-12-07 14:38:02 +01:00
226f78bf8a
[ci] Refactor upload of documentation to sourceforge
2019-11-10 18:40:51 +01:00
839968c95c
[ci] Create regression-tester.sh
2019-11-10 18:40:51 +01:00
f85d11fe8e
[ci] Refactor sourceforge requests into sourceforge-api.sh
2019-11-10 18:40:51 +01:00
fafb3e76b1
[ci] Create github-releases-api.sh
2019-11-10 18:40:47 +01:00
bef59f1f1c
[ci] Merge release.sh into build-{deploy,doc}.sh with manual github releases
...
A draft github release is created or the latest release is reused,
if it is a draft release.
Assets are uploaded, release notes are added.
The release is left in draft state.
2019-11-10 18:40:30 +01:00
b0a854619c
Revert "[ci] Fix build on travis when gpg tries to sign"
...
This reverts commit bb0813547cc85e2dd0b9c9f559c6620410ff058c.
2019-11-01 11:26:18 +01:00
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
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
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
bf70954698
[ci] create a corresponding travis remote branch locally
2019-05-05 14:59:25 +08:00
2057fc3919
[ci] fix missing local branch issues
2019-05-02 00:01:23 +08:00
916d55107c
[ci] Sign also snapshot builds to test the release signing key
2019-03-30 18:49:51 +01:00
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
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
dd66f9c5a2
[ci] fix path to travis_wait, more usages of travis_wait
2019-01-27 19:39:31 +01:00
b0eb46379e
[ci] Fail the build if uploading the baseline fails
2019-01-27 18:31:21 +01:00
017b6c3275
[ci] use travis_wait while uploading to sourceforge
2019-01-27 18:30:57 +01:00
e58ad9ef84
[ci] Install bundles into vendor/bundle, fix bundle config when calling pmdtester
2018-10-07 10:57:39 +02:00
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
bec314ef27
Merge branch 'pr-1266'
2018-09-01 16:13:02 -03:00
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
3269f3a6ca
Render release notes before pushing to sourceforge
2018-08-19 17:24:30 +02:00
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
5316dd061b
Merge branch 'pr-1254'
2018-07-30 10:46:11 +02:00
2b0e9e0ccf
danger integration
2018-07-30 00:11:02 +08:00
5caee3190a
[ci] more logging for pmd.github.io push, fix docs upload, fix baseline for tags
2018-07-29 13:58:12 +02:00
f49cd01637
fix comments
2018-07-22 00:45:16 +08:00
3f030a2784
upload baseline of pmdtester automatically
2018-07-21 00:53:39 +08:00
d6ec50b20f
[ci] Include travis build number and commit range in commit messages
2018-06-30 16:20:01 +02:00
6996b8e51d
[ci] Add more logging to build/deploy/release scripts
2018-06-30 16:05:55 +02:00
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
19d65171bd
Rename colors.sh -> logger.sh
2018-05-24 19:20:12 +02:00
281f151197
Use log_info, log_error, log_success functions instead of the colors
2018-05-24 19:18:57 +02:00
ac9f0ac1d4
[ci] Add colors, don't fail the build/release if upload to sourceforge fails
2018-05-22 20:29:32 +02:00
73de6eb1f0
[ci] Use Java9 for building PMD
...
Fixes #854
2018-02-18 21:49:25 +01:00
c2e11ddff2
[ci] Upgrade m-pmd-p
...
- Reenable pmd dogfoding
- Upgrade to use PMD 6.0.1 on self
2018-01-29 23:19:43 -03:00
ff9a951c9e
Determine java7 home with jdk_switcher
2018-01-13 11:23:26 +01:00
4f62e84392
Use openjdk7
...
See https://raw.githubusercontent.com/michaelklishin/jdk_switcher/1e091549285fb0f2591cef679b4135cfbfcc0b4c/jdk_switcher.sh for the paths
See travis-ci/travis-ci#7964
2018-01-13 11:13:59 +01:00
4ba1cbcb46
Use bootclasspath when building for java7
...
Note: this is only works correctly, if the property java7.home is set
Fixes #842
2018-01-12 23:36:18 +01:00
91d40710dc
Temporarily disable PMD checks on Travis
2017-10-30 16:54:38 -03:00
e737e38d73
[ci] check for var encrypted_5630fbebf057_iv in setup-secrets
...
This should now allow forked builds to finally run on travis...
2017-10-13 10:37:16 +02:00
b3f76562a3
Update email for pmd-bot
2017-08-18 09:45:15 +02:00
c8c4b73c80
[doc] Move the changelog to docs as "pmd_release_notes"
...
Also update the release scripts
2017-08-15 14:31:03 +02:00
4c255cb1fa
[ci] Fix script to actually push the docs
2017-08-13 13:30:49 +02:00
c8dd41ac32
[ci] Push changes to docs, if there are any
...
refs #526
2017-08-12 21:55:31 +02:00
d5d32f996b
Make bash scripts executable
2017-07-27 21:43:34 -03:00
050e659c68
Fix travis build, part 5 (refs #376 )
2017-05-20 11:09:54 +02:00
eb0ddfcf2b
Fix travis build, part 4 (refs #376 )
...
Now, a push is a push
2017-05-20 10:43:14 +02:00
120c7cc1ff
Fix travis build, add more info during build (refs #376 )
2017-05-20 10:30:57 +02:00