Hi, Jenkins is doing the same as local.
Just do a complete: mvn clean install -Prat you will have the same. Regards JB On 11/09/2018 10:58, Miroslav Beranič wrote: > Hi François, > > I have to be logged in to access > https://builds.apache.org/view/K/view/Karaf/job/karaf-pr/ws/target/karaf-4.2.2-SNAPSHOT.rat/*view*/ > > Is registration open or I need invite? I did not see a registration form. > > But more important: > > How do I compile locally in a way, to have this error before pushing to > Apache's Jenkins - save me embarrassment and you resources on servers. > > Regards, > Miroslav > > > V V tor., 11. sep. 2018 ob 08:46 je oseba Francois Papon < > [email protected]> napisala: > >> Hi, >> >> You are missing the Apache License header in files : >> >> 4 Unknown Licenses >> >> ***************************************************** >> >> Files with unapproved licenses: >> >> scheduler/src/main/java/org/apache/karaf/scheduler/SchedulerStorage.java >> >> scheduler/src/main/java/org/apache/karaf/scheduler/core/StdOsgiScheduler.java >> >> scheduler/src/main/java/org/apache/karaf/scheduler/core/QuartzSchedulerStorage.java >> >> scheduler/src/main/java/org/apache/karaf/scheduler/core/StdOsgiSchedulerFactory.java >> >> I put some comments on your PR ;) >> >> You can see the detailed files here : >> >> >> https://builds.apache.org/view/K/view/Karaf/job/karaf-pr/ws/target/karaf-4.2.2-SNAPSHOT.rat/*view*/ >> >> regards, >> >> François Papon >> [email protected] >> >> Le 11/09/2018 à 10:35, Miroslav Beranič a écrit : >>> Hi, >>> >>> I've subscribed to dev mailing list. >>> >>> I've submitted a pull request at >> https://github.com/apache/karaf/pull/608, >>> but I see Jenkins build failed do to: >>> Caused by: org.apache.rat.mp.RatCheckException: Too many files with >>> unapproved license: 4 See RAT report in: >>> >> /home/jenkins/jenkins-slave/workspace/karaf-pr/target/karaf-4.2.2-SNAPSHOT.rat >>> >>> >>> located at : >>> https://builds.apache.org/job/karaf-pr/665/console >>> >>> What should I update, to make this work? >>> >>> Kind Regards, >>> Miroslav >>> >>> >> >> >> > -- Jean-Baptiste Onofré [email protected] http://blog.nanthrax.net Talend - http://www.talend.com
