You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by Marshall Schor <ms...@schor.com> on 2017/02/28 19:01:21 UTC
debugging hint for Jenkins builds when getting failures in
maven-invoker-plugin
Some of our projects build maven plugins, and then test them using "Integration
Tests".
These load a temporary local-repository with maven artifacts, and run the plugin
in that temporary environment. The plugin running generates a log, in
target/it/[your-test-maven-project-using-the-plugin]/build.log.
When this build fails, you get an error message in Jenkins that says
[INFO] Building: simple/pom.xml
[INFO] ..FAILED (6.1 s)
[INFO] The build exited with code 1. See /home/jenkins/jenkins-slave/workspace/UIMA-v3-sdk/jcasgen-maven-plugin/target/it/simple/build.log for details.
The 3rd line of this message hasn't been updated to reflect how to see this in our Apache build configuration. The way to see this is via a browser pointed to
https://builds.apache.org/job/[the-job-name, e.g. UIMA-v3-sdk]/ws/
That is, just go to the main build in Jenkins, and then add "/ws" to get the workspace. Following that you can then add subdirectories like target/it/ etc.
-Marshall