[keycloak-dev] travis maven and quiet mode -q

Thomas Darimont thomas.darimont at googlemail.com
Tue Aug 2 03:53:48 EDT 2016


Hello,

FYI - in the Spring Data Builds we configured caching of maven resources in
travis to avoid downloading all dependencies everytime
https://github.com/spring-projects/spring-data-jpa/blob/master/.travis.yml#L28

So try adding this to .travis.yml

cache:
  directories:
    - $HOME/.m2

Cheers,
Thomas

2016-08-02 5:58 GMT+02:00 Marek Posolda <mposolda at redhat.com>:

> I've tried to find some "balance" between no log and too much log. I've
> ended with removed quiet mode, but some output filtering with "grep" to
> avoid very big log file. The command is like this:
>
> mvn install -Pdistribution -DskipTests=true -B -V | grep -e "Maven" -e
> "Java" -e "Building Keycloak"
>
> I've pushed this change. Looks like dirty workaround, but seems to work
> for now :/ It seems the proper solution will be to fix maven to avoid
> downloading stuff every build.
>
> Marek
>
>
> On 01/08/16 22:40, Bill Burke wrote:
> > i set it back
> >
> >
> > On 8/1/16 3:38 PM, Pedro Igor Silva wrote:
> >> Now Travis is complaining about the log size .... That is probably the
> reason why quite mode was set.
> >>
> >> I think we should revert -q. At least we can restart the build and get
> it working.
> >>
> >> I can try to look at that later this week and try to find a balance
> between these two issues (no log and too much log).
> >>
> >> Wdyt ?
> >>
> >>
> >> ----- Original Message -----
> >> From: "Pedro Igor Silva" <psilva at redhat.com>
> >> To: "Bill Burke" <bburke at redhat.com>
> >> Cc: "keycloak-dev" <keycloak-dev at lists.jboss.org>
> >> Sent: Monday, August 1, 2016 2:12:32 PM
> >> Subject: Re: [keycloak-dev] travis maven and quiet mode -q
> >>
> >> I think so. That is what we have discussed on another thread. We could
> remove quiet mode and see if builds get more stable. Which I think will do
> ...
> >>
> >> ----- Original Message -----
> >> From: "Bill Burke" <bburke at redhat.com>
> >> To: "keycloak-dev" <keycloak-dev at lists.jboss.org>
> >> Sent: Monday, August 1, 2016 2:03:05 PM
> >> Subject: [keycloak-dev] travis maven and quiet mode -q
> >>
> >> Why are we running in quiet mode? Does the log end up too long and the
> >> build fails?
> >>
> >> _______________________________________________
> >> keycloak-dev mailing list
> >> keycloak-dev at lists.jboss.org
> >> https://lists.jboss.org/mailman/listinfo/keycloak-dev
> >> _______________________________________________
> >> keycloak-dev mailing list
> >> keycloak-dev at lists.jboss.org
> >> https://lists.jboss.org/mailman/listinfo/keycloak-dev
> > _______________________________________________
> > keycloak-dev mailing list
> > keycloak-dev at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/keycloak-dev
>
> _______________________________________________
> keycloak-dev mailing list
> keycloak-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-dev/attachments/20160802/3495209c/attachment-0001.html 


More information about the keycloak-dev mailing list