You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Tibor Digana <ti...@apache.org> on 2019/07/05 13:55:39 UTC

Failing builds - files do not exist

Suddenly we have one common problem on Jenkins builds in master branches.
It looks random and some files produced by ITs do not exist in "target".

Do you understand the root cause?


This is the error log in maven-archetype:

https://builds.apache.org/blue/organizations/jenkins/maven-box%2Fmaven-archetype/detail/master/31/pipeline
[INFO] Building: ARCHETYPE-536_groovy-grape\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           ARCHETYPE-536_groovy-grape\pom.xml ............... FAILED
(2.5 s)
[INFO]   The post-build script did not succeed. assert textFile.exists()
       |        |
       |        false

 F:\short\jenkins-maven-box-maven-archetype-master-31\j7m3.2.xb\maven-archetype-plugin\target\it\projects\ARCHETYPE-536_groovy-grape\myArtifactId\test.txt


and this is the error log in maven-site-plugin:
https://builds.apache.org/blue/organizations/jenkins/maven-box%2Fmaven-site-plugin/detail/master/29/pipeline
[INFO] Building: effective-site/pom.xml
[INFO] artifact org.apache.maven.plugins.maven-plugins:31: checking for
updates from central
[INFO] artifact org.apache.maven.maven-parent:31: checking for updates from
central
[INFO] artifact org.apache.apache:19: checking for updates from central
[INFO] run post-build script verify.groovy
[INFO]           effective-site/pom.xml ........................... FAILED
(6.0 s)
[INFO]   The post-build script did not succeed. assert new File( basedir,
'effective-site.xml' ).exists()
       |         |                               |
       |         |                               false
       |
/home/jenkins/jenkins-slave/workspace/ven-box_maven-site-plugin_master@2
/linux-jdk12-m3.6.x_build/target/it/effective-site

 /home/jenkins/jenkins-slave/workspace/ven-box_maven-site-plugin_master@2
/linux-jdk12-m3.6.x_build/target/it/effective-site/effective-site.xml