61 Commits

Author SHA1 Message Date
Andreas Dangel
b3f76562a3 Update email for pmd-bot 2017-08-18 09:45:15 +02:00
Andreas Dangel
c8c4b73c80 [doc] Move the changelog to docs as "pmd_release_notes"
Also update the release scripts
2017-08-15 14:31:03 +02:00
Andreas Dangel
3d9511a0e5 [doc] Remove old maven site 2017-08-15 14:31:03 +02:00
Andreas Dangel
4c255cb1fa [ci] Fix script to actually push the docs 2017-08-13 13:30:49 +02:00
Andreas Dangel
c8dd41ac32 [ci] Push changes to docs, if there are any
refs #526
2017-08-12 21:55:31 +02:00
Juan Martín Sotuyo Dodero
d5d32f996b Make bash scripts executable 2017-07-27 21:43:34 -03:00
Andreas Dangel
0a4d212438 [ci] fix rsync paths 2017-07-25 21:14:08 +02:00
Andreas Dangel
ff0149fb7f [ci] run jekyll directly without docker 2017-07-25 21:09:23 +02:00
Andreas Dangel
e432a32818 [ci] we seem to have some kind of permission problem 2017-07-25 20:40:58 +02:00
Andreas Dangel
5727dabd38 [doc] Add build script for PMD documentation, disable old site build 2017-07-23 11:00:52 +02:00
Andreas Dangel
98670a736f [ci] increase timeout for site generation 2017-07-19 20:47:07 +02:00
Andreas Dangel
ce96da092a [doc] Remove jacoco report and surefire report for site generation 2017-07-08 20:33:02 +02:00
Andreas Dangel
e8dcbda839 [ci] Add coveralls.io
Updated jacoco, add maven profile "coveralls"
2017-07-08 20:30:25 +02:00
Andreas Dangel
8b109f9981 [ci] let's try the quiet option (-q) of maven
travis_wait_truncated doesn't work, since the pipes are buffered...
2017-07-08 13:10:32 +02:00
Andreas Dangel
e9ac18427a [ci] add a truncated travis_wait function
Since travis_wait outputs the "Still running" indication into the
same stream as the command's output, we need to make sure, we
output these indications to avoid a build timeout.
But to workaround the log size limit, we shouldn't output everything.
travis_wait_truncated now outputs the head immediately, while
only outputting the tail of the log after the command is finished.
2017-07-08 12:48:43 +02:00
Andreas Dangel
a3a1f1b30b [ci] add more logging during build-site.sh execution 2017-07-08 12:15:17 +02:00
Andreas Dangel
4efa375a06 Merge branch 'improve-travis' of https://github.com/Monits/pmd into pr-456 2017-07-08 11:49:25 +02:00
Andreas Dangel
6652ec9545 [travis] fix release script for upload site 2017-07-01 20:01:19 +02:00
Juan Martín Sotuyo Dodero
042672c8f5 Add missing tail 2017-06-24 17:31:58 -03:00
Juan Martín Sotuyo Dodero
c9990a53cb Adopt feedback 2017-06-24 17:28:40 -03:00
Juan Martín Sotuyo Dodero
66bed6779c [ci] Improve Travis builds
- use travis_wait for long running tasks with no output
 - enable fast-finish to abort all builds if one fails
2017-06-21 21:25:38 -03:00
Andreas Dangel
cb5452fcbb Revert "travis: use travis_wait"
This reverts commit cd39cd6fa8486fef01811725c3d303e9accc2fab.
2017-06-11 10:50:42 +02:00
Andreas Dangel
cd39cd6fa8 travis: use travis_wait 2017-06-11 09:26:35 +02:00
Andreas Dangel
31ad613552 travis: run site upload in background job to mitigate no-output problem 2017-06-03 10:23:59 +02:00
Andreas Dangel
e6e0483659 travis: fix path for $HOME/.m2 2017-06-02 09:29:08 +02:00
Andreas Dangel
23545aa7ea travis build - run only specific parts of release.sh script 2017-05-20 23:53:28 +02:00
Andreas Dangel
6aa77ce3e4 travis: run install before building site docu 2017-05-20 23:02:22 +02:00
Andreas Dangel
fb56643590 Fix travis build for releases (refs #376) 2017-05-20 11:17:35 +02:00
Andreas Dangel
050e659c68 Fix travis build, part 5 (refs #376) 2017-05-20 11:09:54 +02:00
Andreas Dangel
eb0ddfcf2b Fix travis build, part 4 (refs #376)
Now, a push is a push
2017-05-20 10:43:14 +02:00
Andreas Dangel
120c7cc1ff Fix travis build, add more info during build (refs #376) 2017-05-20 10:30:57 +02:00
Andreas Dangel
64eac02bbd Fix travis build, part 3 (refs #376) 2017-05-20 09:59:30 +02:00
Andreas Dangel
8ef25e839c Fix travis build, part 2 (refs #376) 2017-05-20 09:55:09 +02:00
Andreas Dangel
adced2dd26 Restructure travis build scripts, so that we have 3 steps, that can
run in parallel:
* build-deploy.sh
* build-site.sh
* build-sonar.sh
2017-05-15 21:11:43 +02:00
Andreas Dangel
39eb79f58e Fix build determining current version
Only take the last line of the output. Current maven wrapper
will output the current directy, later versions of the wrapper
will output the wrapper version.
2017-05-05 12:22:55 +02:00
Andreas Dangel
767eea8b4e travis release script - fix missing escape for backslash, refs #324 2017-05-05 11:37:56 +02:00
Andreas Dangel
aba44a8824 Make travis to use maven wrapper, too
refs #377
2017-05-05 11:37:51 +02:00
Andreas Dangel
536280bb98 travis build: fix escaping of double quotes
closes #324
2017-04-14 11:50:37 +02:00
Andreas Dangel
14428ed3bf Improve release notes upload to github 2017-03-03 15:42:10 +01:00
Andreas Dangel
a55e88c413 Use sparse checkout for pmd.github.io 2017-03-03 15:41:23 +01:00
Andreas Dangel
9388ce551e Travis - redirect output of sonar build into file 2017-02-27 20:43:37 +01:00
Andreas Dangel
d8a367187c Travis - only run "mvn deploy", when it should be run 2017-02-27 20:43:37 +01:00
Andreas Dangel
a39561df5f Setup the secrets only for non-pull-request builds when we have the
secure environment variables
2017-02-27 20:43:37 +01:00
Andreas Dangel
2196924b7d Specify branch name when pushing, make commit quiet 2017-02-25 21:38:42 +01:00
Andreas Dangel
6e4a5aef0e Fix condition for when to upload the binaries to sourceforge
Travis builds each commit during the release process: this means,
the commit on the branch, which changes the version to a non-
SNAPSHOT version, is also built. And after that, the tag is built.
Therefore, we upload, when we build SNAPSHOTS or when we build from a
tag.
2017-02-25 21:29:45 +01:00
Andreas Dangel
fcc515902c Add json request in output in case of error
Fix release script
2017-02-25 21:12:18 +01:00
Andreas Dangel
d8ee6717ee Travis Build fixes
* Do only perform a release, if building from tag
* Add missing git config
* Output github releases request in case of error
2017-02-25 20:06:30 +01:00
Andreas Dangel
8eeb0f25c7 Update github release data after deploy step with name + changelog 2017-02-25 17:38:05 +01:00
Andreas Dangel
03b39acd0b travis: add files and repo configuration for releases, upload pmd.github.io 2017-02-25 16:24:31 +01:00
Andreas Dangel
4d16c8d2d2 Log output of site building into file, to avoid travis log file limit
See also http://stackoverflow.com/questions/26082444/how-to-work-around-travis-cis-4mb-output-limit/26082445#26082445
2017-02-25 11:31:09 +01:00