http://javaadventure.blogspot.ie/2013/11/jenkins-maven-job-type-considered-evil.html


On 24 August 2013 00:12, Jeff <[email protected]> wrote:

> I have a new Jenkins installation (1 master + 1 slave so far).  I have
> about 8 Maven jobs so far.  When a build fails, the maven errors aren't
> shown, I only see INFO messages, which seems very odd.
>
> If I run the maven command on the jenkins system directly, I see the
> errors.  In the maven options, there is nothing that appears to limit debug
> output.
>
> I don't know what could cause this and it is driving me mad!!
>
> Any thoughts?  The actual error is an issue resolving a SNAPSHOT
> dependency that doesn't exist any more.
>
> Here is the entire output:
>
> Started by user Jeff Vincent
> [EnvInject] - Loading node environment variables.
> Building on master in workspace
> /var/lib/jenkins/jobs/fulfillment-lab-service.development/workspace
> Checkout:workspace /
> /var/lib/jenkins/jobs/fulfillment-lab-service.development/workspace -
> hudson.remoting.LocalChannel@67658c42
> Using strategy: Default
> Last Built Revision: Revision 657751639cc9a3548bba74f5be3d4844a22cbb0f
> (origin/development)
> Using shallow clone
> Fetching changes from 1 remote Git repository
> Fetching upstream changes from origin
> Commencing build of Revision 657751639cc9a3548bba74f5be3d4844a22cbb0f
> (origin/development)
> Checking out Revision 657751639cc9a3548bba74f5be3d4844a22cbb0f
> (origin/development)
> Parsing POMs
> Modules changed, recalculating dependency graph
> [workspace] $
> /var/lib/jenkins/tools/hudson.model.JDK/Oracle_JDK_7u25/bin/java -Xmx512m
> -XX:MaxPermSize=128m -cp
> /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-agent-1.4.jar:/var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_v3.0.4/boot/plexus-classworlds-2.4.jar
> org.jvnet.hudson.maven3.agent.Maven3Main
> /var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_v3.0.4
> /var/cache/jenkins/war/WEB-INF/lib/remoting-2.32.jar
> /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-1.4.jar
> /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.4.jar
> 48830
> <===[JENKINS REMOTING CAPACITY]===>channel started
> log4j:WARN No appenders could be found for logger
> (org.apache.commons.beanutils.converters.BooleanConverter).
> log4j:WARN Please initialize the log4j system properly.
> Executing Maven: * -B -f
> /var/lib/jenkins/jobs/fulfillment-lab-service.development/workspace/pom.xml
> clean install deploy -U -DskipTests*
> Aug 23, 2013 4:44:52 PM org.apache.maven.cli.event.ExecutionEventLogger
> projectDiscoveryStarted
> INFO: Scanning for projects...
> Aug 23, 2013 4:44:52 PM org.apache.maven.cli.event.ExecutionEventLogger
> projectStarted
> INFO:
>
> Aug 23, 2013 4:44:52 PM org.apache.maven.cli.event.ExecutionEventLogger
> projectStarted
> INFO:
> ------------------------------------------------------------------------
> Aug 23, 2013 4:44:52 PM org.apache.maven.cli.event.ExecutionEventLogger
> projectStarted
> INFO: Building fulfillment-lab-service 1.0.0-SNAPSHOT
> Aug 23, 2013 4:44:52 PM org.apache.maven.cli.event.ExecutionEventLogger
> projectStarted
> INFO:
> ------------------------------------------------------------------------
> Downloading:
> http://archiva/repository/mycompany/com/mycompany/common/dal/1.3.0-SNAPSHOT/maven-metadata.xml
> Downloading:
> http://archiva/repository/mycompany/com/mycompany/fulfillment/fulfillment-services/1.4.0-SNAPSHOT/maven-metadata.xml
> Downloaded:
> http://archiva/repository/mycompany/com/mycompany/fulfillment/fulfillment-services/1.4.0-SNAPSHOT/maven-metadata.xml(390
>  B at 4.9 KB/sec)
> Downloading:
> http://archiva/repository/mycompany/com/mycompany/fulfillment/fulfillment/1.4.0-SNAPSHOT/maven-metadata.xml
> Downloaded:
> http://archiva/repository/mycompany/com/mycompany/fulfillment/fulfillment/1.4.0-SNAPSHOT/maven-metadata.xml(381
>  B at 5.9 KB/sec)
> Downloading:
> http://archiva/repository/mycompany/com/mycompany/fulfillment/fulfillment-model/1.4.0-SNAPSHOT/maven-metadata.xml
> Downloaded:
> http://archiva/repository/mycompany/com/mycompany/fulfillment/fulfillment-model/1.4.0-SNAPSHOT/maven-metadata.xml(387
>  B at 5.9 KB/sec)
> Downloading:
> http://archiva/repository/mycompany/com/mycompany/serviceclients/xapi-service/1.4.1-SNAPSHOT/maven-metadata.xml
> Downloaded:
> http://archiva/repository/mycompany/com/mycompany/serviceclients/xapi-service/1.4.1-SNAPSHOT/maven-metadata.xml(793
>  B at 10.6 KB/sec)
> Downloading:
> http://archiva/repository/mycompany/com/mycompany/serviceclients/xapi-service/1.4.1-SNAPSHOT/xapi-service-1.4.1-20130823.222403-1.pom
> [WARNING] The POM for
> com.mycompany.serviceclients:xapi-service:jar:1.4.1-20130823.222403-1 is
> missing, no dependency information available
> Downloading:
> http://archiva/repository/mycompany/com/mycompany/serviceclients/xapi-service/1.4.1-SNAPSHOT/xapi-service-1.4.1-20130823.222403-1.jar
> Aug 23, 2013 4:44:55 PM org.apache.maven.cli.event.ExecutionEventLogger
> logResult
> INFO:
> ------------------------------------------------------------------------
> Aug 23, 2013 4:44:55 PM org.apache.maven.cli.event.ExecutionEventLogger
> logResult
> INFO: BUILD FAILURE
> Aug 23, 2013 4:44:55 PM org.apache.maven.cli.event.ExecutionEventLogger
> logStats
> INFO:
> ------------------------------------------------------------------------
> Aug 23, 2013 4:44:55 PM org.apache.maven.cli.event.ExecutionEventLogger
> logStats
> INFO: Total time: 3.386s
> Aug 23, 2013 4:44:55 PM org.apache.maven.cli.event.ExecutionEventLogger
> logStats
> INFO: Finished at: Fri Aug 23 16:44:55 MDT 2013
> Aug 23, 2013 4:44:55 PM org.apache.maven.cli.event.ExecutionEventLogger
> logStats
> INFO: Final Memory: 9M/121M
> Aug 23, 2013 4:44:55 PM org.apache.maven.cli.event.ExecutionEventLogger
> sessionEnded
> INFO:
> ------------------------------------------------------------------------
> [JENKINS] Archiving
> /var/lib/jenkins/jobs/fulfillment-lab-service.development/workspace/pom.xml
> to
> /var/lib/jenkins/jobs/fulfillment-lab-service.development/modules/com.mycompany.fulfillment$fulfillment-lab-service/builds/2013-08-23_16-44-48/archive/com.mycompany.fulfillment/fulfillment-lab-service/1.0.0-SNAPSHOT/fulfillment-lab-service-1.0.0-SNAPSHOT.pom
> Waiting for Jenkins to finish collecting data
> channel stopped
> Skipping sonar analysis due to bad build status FAILURE
> Sending e-mails to: [email protected]
> Finished: FAILURE
>
>
>
> --
> Jeff Vincent
> See my LinkedIn profile at:
> http://www.linkedin.com/in/rjeffreyvincent
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to