pascalgrimaud / generator-jhipster-ci

DEPRECATED: now directly to the main generator
Apache License 2.0
16 stars 8 forks source link

When test with Continuos Integration with gradle, use no-daemon #11

Closed phouverneyuff closed 8 years ago

phouverneyuff commented 8 years ago

In the gradle documentation, they recommend use option --no-daemon when running in continuos integration server.

https://docs.gradle.org/current/userguide/gradle_daemon.html

Continuous integration

At the moment, we recommend that you leave the Daemon disabled for continuous integration servers as using a fresh runtime for each build is more reliable since the runtime is completely isolated from previously builds. Additionally, since the Daemon primarily acts to reduce build startup times, this isn't as critical in CI as it is on a developer's machine.

pascalgrimaud commented 8 years ago

Oh, maybe we should do this for the main generator-jhipster too ? https://github.com/jhipster/generator-jhipster/blob/master/travis/scripts/04-tests.sh

phouverneyuff commented 8 years ago

Yes. On Feb 5, 2016 5:11 AM, "Pascal Grimaud" notifications@github.com wrote:

Oh, maybe we should do this for the main generator-jhipster too ?

https://github.com/jhipster/generator-jhipster/blob/master/travis/scripts/04-tests.sh

— Reply to this email directly or view it on GitHub https://github.com/pascalgrimaud/generator-jhipster-ci/issues/11#issuecomment-180231700 .