Yes +1 to improve withMaven with color support 2017-03-01 9:23 GMT+01:00 Arnaud Héritier <aherit...@gmail.com>:
> I'll do some tests later but yes the advice is often to not use the Maven > Project type in Jenkins. > Using the ansi color plugin allows to display colors. I'll probably use > that path and configure it by default for maven jobs and/or I'll set -B if > it's not already done ... > For freestyle jobs I'm surprised that we force by default the -B > For pipeline we might support the color output by improving the withMaven > https://jenkins.io/doc/pipeline/steps/pipeline-maven/ > > > On Wed, Mar 1, 2017 at 8:36 AM, Thomas Collignon <tomiphon...@gmail.com> > wrote: > > > Yes Robert you have Right, Jenkins use -B by default > > > > In this case I have : > > > > - Maven Job > > - Jenkins 2.19.4 > > > > Output command is : > > > > <===[JENKINS REMOTING CAPACITY]===>channel started > > > > Executing Maven: -B -f /data/blabla/pom.xml -s > > /opt/apache-maven-3.5.0-alpha-1/conf/settings.xml -gs > > /opt/apache-maven-3.5.0-alpha-1/conf/settings.xml clean install > > -Dmaven.test.failure.ignore=true -T 4 > > > > > > And I have ugly output > > > > [ [1;34mINFO [m] > > [1m--------------------------------------------------------- > > --------------- > > [m > > [ [1;34mINFO [m] [1mReactor Build Order: [m > > [ [1;34mINFO [m] > > > > So I have test another case : > > > > - Jenkins Freestyle Job with maven step > > > > Output command is : > > > > $ /opt/apache-maven-3.5.0-alpha-1/bin/mvn -f pom.xml -s > > /opt/apache-maven-3.5.0-alpha-1/conf/settings.xml -gs > > /opt/apache-maven-3.5.0-alpha-1/conf/settings.xml clean install > > -Dmaven.test.failure.ignore=true -T 4 > > > > And in this case output is ok > > > > [INFO] ------------------------------------------------------------ > > ------------ > > [INFO] Reactor Build Order: > > [INFO] > > > > Last test : > > > > - Jenkins Pipeline > > > > > > > > > > > > *node { checkout(blabla) tool name: 'Maven 3.5.0-alpha-1', type: > > 'maven' sh 'mvn clean install -B -Dmaven.test.failure.ignore=true -T > > 4'}* > > > > And in this case output is ok too > > > > Conclusion : do not use Jenkins Maven project :) > > > > => I will update my blog > > > > > > 2017-02-28 21:50 GMT+01:00 Robert Scholte <rfscho...@apache.org>: > > > > > bq. NOTE: in Jenkins by default the console output is ugly with maven > > > 3.5.0-alpha-1 (see next). To fix this the Ansi Color Plugin is > necessary > > ! > > > > > > this is weird. I would expect Jenksins to always run in batch-mode > (-B), > > > which should disable Ansi. > > > > > > Robert > > > > > > > > > On Mon, 27 Feb 2017 23:40:51 +0100, thomas COLLIGNON < > > > tomiphon...@gmail.com> wrote: > > > > > > Hello, > > >> > > >> +1 for me too > > >> > > >> Tested on different projects with different kind of plugins, on MacOsX > > >> and Linux, IDE, CLI and IT > > >> If you want to see the details, I wrote a little post : > > >> https://tcollignon.github.io/2017/02/27/Test-Maven-350-alpha-1.html < > > >> https://tcollignon.github.io/2017/02/27/Test-Maven-350-alpha-1.html> > > >> > > >> > > >> > > >> Le 27 févr. 2017 à 22:48, Arnaud Héritier <aherit...@gmail.com> a > > écrit : > > >>> > > >>> tested on several projects > > >>> +1 > > >>> > > >>> On Mon, Feb 27, 2017 at 10:24 PM, Guillaume Boué <gb...@apache.org> > > >>> wrote: > > >>> > > >>> +1 from me too > > >>>> > > >>>> Tested with some Tycho builds of Spring and it worked fine. Also > > tested > > >>>> on > > >>>> FreeBSD / Ubuntu / Windows without issues. > > >>>> > > >>>> > > >>>> Le 27/02/2017 à 19:11, Hervé BOUTEMY a écrit : > > >>>> > > >>>> I already voted, but I'll redo: > > >>>>> > > >>>>> +1 > > >>>>> > > >>>>> tested with many builds: it works as well as I expected (near a RC > > >>>>> confidence) > > >>>>> Let's fix the identified little glitches, and we'll have our 3.5.0 > > >>>>> final > > >>>>> :) > > >>>>> > > >>>>> Regards, > > >>>>> > > >>>>> Hervé > > >>>>> > > >>>>> Le lundi 27 février 2017, 14:42:12 CET Stephen Connolly a écrit : > > >>>>> > > >>>>> Hervé, Robert you have commented but I do not see a vote cast. I > > >>>>>> believe > > >>>>>> I > > >>>>>> have 3 binding votes, but as one of those is mine I would be more > > >>>>>> comfortable with some more > > >>>>>> > > >>>>>> On 23 February 2017 at 16:10, Stephen Connolly < > > >>>>>> > > >>>>>> stephen.alan.conno...@gmail.com> wrote: > > >>>>>> > > >>>>>> Hi, > > >>>>>>> > > >>>>>>> We solved 65 issues: > > >>>>>>> https://issues.apache.org/jira/secure/ReleaseNote.jspa? > > >>>>>>> projectId=12316922&version=12339664&styleName=Text > > >>>>>>> > > >>>>>>> There are still a couple of issues left in JIRA for 3.5.0, but I > do > > >>>>>>> not > > >>>>>>> think any of those are blocking an alpha release: > > >>>>>>> https://issues.apache.org/jira/issues/?jql=project%20% > > >>>>>>> 3D%20MNG%20AND%20resolution%20%3D%20Unresolved%20AND% > > >>>>>>> 20fixVersion%20in%20(3.5.0%2C%203.5.0-candidate)%20ORDER% > > >>>>>>> 20BY%20due%20ASC%2C%20priority%20DESC%2C%20created%20ASC > > >>>>>>> > > >>>>>>> In addition there are 315 issues left in JIRA for Maven core: > > >>>>>>> https://issues.apache.org/jira/issues/?jql=project%20% > > >>>>>>> 3D%20MNG%20AND%20resolution%20%3D%20Unresolved%20ORDER% > > >>>>>>> 20BY%20due%20ASC%2C%20priority%20DESC%2C%20created%20ASC > > >>>>>>> > > >>>>>>> Staging repo: > > >>>>>>> https://repository.apache.org/content/repositories/maven-1324 > > >>>>>>> > > >>>>>>> The distributable binaries and sources for testing can be found > > here: > > >>>>>>> https://repository.apache.org/content/repositories/maven-> > > > >>>>>>> 1324/org/apache/maven/apache-maven/3.5.0-alpha-1/ > > >>>>>>> > > >>>>>>> Specifically the zip, tarball, and source archives can be found > > here: > > >>>>>>> https://repository.apache.org/content/repositories/maven-> > > > >>>>>>> 1324/org/apache/maven/apache-maven/3.5.0-alpha-1/apache- > > >>>>>>> maven-3.5.0-alpha-1-bin.zip > > >>>>>>> https://repository.apache.org/content/repositories/maven-> > > > >>>>>>> 1324/org/apache/maven/apache-maven/3.5.0-alpha-1/apache- > > >>>>>>> maven-3.5.0-alpha-1-bin.tar.gz > > >>>>>>> https://repository.apache.org/content/repositories/maven-> > > > >>>>>>> 1324/org/apache/maven/apache-maven/3.5.0-alpha-1/apache- > > >>>>>>> maven-3.5.0-alpha-1-src.zip > > >>>>>>> https://repository.apache.org/content/repositories/maven-> > > > >>>>>>> 1324/org/apache/maven/apache-maven/3.5.0-alpha-1/apache- > > >>>>>>> maven-3.5.0-alpha-1-src.tar.gz > > >>>>>>> > > >>>>>>> Source release checksum(s): > > >>>>>>> apache-maven-3.5.0-alpha-1-src.tar.gz sha1: > > >>>>>>> 6055696aece5b0bfdd0308dae60838 > > >>>>>>> b37e218aba > > >>>>>>> apache-maven-3.5.0-alpha-1-src.zip sha1: > > >>>>>>> 7d6adcdf8929205bf20399c71c6a2b > > >>>>>>> db9ee4f6dd > > >>>>>>> > > >>>>>>> Git tag: > > >>>>>>> https://git-wip-us.apache.org/repos/asf?p=maven.git;a=commit;h= > > >>>>>>> 8e6bbc4d4aa7cdc837625a05358c98ca15f72698 > > >>>>>>> > > >>>>>>> Staging site: > > >>>>>>> https://people.apache.org/~stephenc/maven-3.5.0-alpha-1/ > > >>>>>>> > > >>>>>>> Vote open for 72 hours. > > >>>>>>> > > >>>>>>> [ ] +1 > > >>>>>>> [ ] +0 > > >>>>>>> [ ] -1 > > >>>>>>> > > >>>>>>> > > >>>>>>> Thanks, > > >>>>>>> -Stephen > > >>>>>>> > > >>>>>>> > > >>>>>> > > >>>>> ------------------------------------------------------------ > > --------- > > >>>>> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org > > >>>>> For additional commands, e-mail: dev-h...@maven.apache.org > > >>>>> > > >>>>> > > >>>>> > > >>>> --- > > >>>> L'absence de virus dans ce courrier électronique a été vérifiée par > le > > >>>> logiciel antivirus Avast. > > >>>> https://www.avast.com/antivirus > > >>>> > > >>>> > > >>>> ------------------------------------------------------------ > --------- > > >>>> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org > > >>>> For additional commands, e-mail: dev-h...@maven.apache.org > > >>>> > > >>>> > > >>>> > > >>> > > >>> -- > > >>> ----- > > >>> Arnaud Héritier > > >>> http://aheritier.net > > >>> Mail/GTalk: aheritier AT gmail DOT com > > >>> Twitter/Skype : aheritier > > >>> > > >> > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org > > > For additional commands, e-mail: dev-h...@maven.apache.org > > > > > > > > > > > > -- > ----- > Arnaud Héritier > http://aheritier.net > Mail/GTalk: aheritier AT gmail DOT com > Twitter/Skype : aheritier >