Commit 7da31ed3 authored by Mihai Nita's avatar Mihai Nita

Using sonatype repo for testing, and reduce log noise

parent 3a8a0e93
Pipeline #40275903 failed with stage
in 63 minutes and 29 seconds
......@@ -2,6 +2,12 @@
All long running tests for Okapi should go here. Normally round trip tests or any tests that process full files.
**WARNING**
The `logback-test.xml` configuration file in `src\test\resources\` reduces the log level of `net.sf.okapi.common.pipelinedriver` to `WARN`.<br>
Without it the continuous integration build fails. The log limit is 4MB, and we can't change it (controlled by GitLab)<br>
Please don't change the level, and don't remove the file. If you do it in your local copy please don't commit it.
**Example Test File Directory Structure:**
......
......@@ -33,39 +33,14 @@
<repositories>
<repository>
<id>okapi</id>
<name>okapi-repository</name>
<url>https://bitbucket.org/okapiframework/maven-repo/raw/master/</url>
<id>sonatype-snapshots</id>
<name>Nexus Snapshots for Uploads</name>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</repository>
<repository>
<id>swt-repo</id>
<url>https://swt-repo.googlecode.com/svn/repo/</url>
</repository>
<repository>
<id>okapi-xliff</id>
<name>okapi-xliff-repository</name>
<url>http://repository-okapi-xliff.forge.cloudbees.com/snapshot/</url>
<layout>default</layout>
</repository>
<repository>
<id>okapi-xliff-release</id>
<name>okapi-xliff-release-repository</name>
<url>http://repository-okapi.forge.cloudbees.com/release/</url>
<layout>default</layout>
</repository>
<repository>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
<checksumPolicy>warn</checksumPolicy>
</snapshots>
<id>cloudbees-okapi</id>
<name>okapi-repository-on-CloudBees</name>
<url>http://repository-okapi.forge.cloudbees.com/snapshot</url>
<layout>default</layout>
<id>sonatype</id>
<name>Nexus Releases for Uploads</name>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</repositories>
......
<configuration>
<appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
<target>System.err</target>
<encoder class="com.mihnita.colorlog.logback.ColorPatternLayoutEncoder">
<pattern>%highlight([%thread] TEST %level %logger - %msg) %n</pattern>
</encoder>
</appender>
<logger name="net.htmlparser.jericho" level="OFF"/>
<logger name="net.sf.okapi.common.pipelinedriver" level="WARN"/>
<root level="INFO">
<appender-ref ref="CONSOLE" />
</root>
</configuration>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment