See https://builds.apache.org/job/maven-box/job/maven/job/MNG-6674/5/

Changes:

* Add JDK 14 (latest)
* exclude nodes with MAVEN_OPTS issues
* exclude more nodes with MAVEN_OPTS issues
* deploy SNAPSHOT only if  (env.BRANCH_NAME == 'master' && jdk == '8' &&
* deploy only os == linux
* deploy only with 3.6.x
* no need to execute tests twice..
* this one can deploy as well
* Update asfMavenTlpStdBuild.groovy
* no need to filter on maven version only one is used here

No tests ran.

Build log:
Branch event
Obtained Jenkinsfile from 1b0cb097d099ae91426e88067b36684c5c96604b
Running in Durability level: MAX_SURVIVABILITY
Loading library jenkins-env@master
Attempting to resolve master from remote references...
 > git --version # timeout=10
 > git ls-remote -h https://gitbox.apache.org/repos/asf/maven-jenkins-env.git # 
 > timeout=10
Found match: refs/heads/master revision 122d68c6652bef1aab1cc8b5b858b5331e567954
No credentials specified
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url 
 > https://gitbox.apache.org/repos/asf/maven-jenkins-env.git # timeout=10
Fetching without tags
Fetching upstream changes from 
https://gitbox.apache.org/repos/asf/maven-jenkins-env.git
 > git --version # timeout=10
 > git fetch --no-tags --progress 
 > https://gitbox.apache.org/repos/asf/maven-jenkins-env.git 
 > +refs/heads/*:refs/remotes/origin/*
Checking out Revision 122d68c6652bef1aab1cc8b5b858b5331e567954 (master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 122d68c6652bef1aab1cc8b5b858b5331e567954
Commit message: "exclude more nodes with MAVEN_OPTS issues"
 > git rev-list --no-walk 231a3fd4025bb4364e3accacf0ac0ee6e2191219 # timeout=10
Loading library jenkins-lib@master
Attempting to resolve master from remote references...
 > git --version # timeout=10
 > git ls-remote -h https://gitbox.apache.org/repos/asf/maven-jenkins-lib.git # 
 > timeout=10
Found match: refs/heads/master revision cd522d07cd26bbad3d5d3449c44726c1bf576660
No credentials specified
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url 
 > https://gitbox.apache.org/repos/asf/maven-jenkins-lib.git # timeout=10
Fetching without tags
Fetching upstream changes from 
https://gitbox.apache.org/repos/asf/maven-jenkins-lib.git
 > git --version # timeout=10
 > git fetch --no-tags --progress 
 > https://gitbox.apache.org/repos/asf/maven-jenkins-lib.git 
 > +refs/heads/*:refs/remotes/origin/*
Checking out Revision cd522d07cd26bbad3d5d3449c44726c1bf576660 (master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f cd522d07cd26bbad3d5d3449c44726c1bf576660
Commit message: "no need to filter on maven version only one is used here"
 > git rev-list --no-walk f3daff207cb54f72ac439fbb7a836941b8e43f9f # timeout=10
[Pipeline] Start of Pipeline
[Pipeline] properties
[Pipeline] node
Still waiting to schedule task
Waiting for next available executor on 
‘ubuntu&&!H24&&!H25&&!H27&&!H28&&!H29&&!H33&&!H37&&!H39&&!H40&&!H42’
Running on H35 in /home/jenkins/jenkins-slave/workspace/maven-box_maven_MNG-6674
[Pipeline] {
[Pipeline] dir
Running in /home/jenkins/jenkins-slave/workspace/maven-box_maven_MNG-6674/build
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Checkout)
[Pipeline] checkout
[Pipeline] }
[Pipeline] // stage
[Pipeline] pwd
[Pipeline] stage
[Pipeline] { (Configure deploy)
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Build / Unit Test)
[Pipeline] withMaven
[withMaven] Options: 
[org.jenkinsci.plugins.pipeline.maven.publishers.GeneratedArtifactsPublisher[disabled=false],
 
JunitTestsPublisher[disabled=false,healthScaleFactor=,keepLongStdio=false,ignoreAttachments=false],
 
org.jenkinsci.plugins.pipeline.maven.publishers.FindbugsAnalysisPublisher[disabled='false',
 healthy='', unHealthy='', thresholdLimit='low'], 
org.jenkinsci.plugins.pipeline.maven.publishers.TasksScannerPublisher[disabled='false',
 healthy='', unHealthy='', thresholdLimit='low'], 
org.jenkinsci.plugins.pipeline.maven.publishers.DependenciesFingerprintPublisher[disabled=false,
 scopes=[compile, provided, runtime], versions={snapshot:true, release:false}], 
org.jenkinsci.plugins.pipeline.maven.publishers.InvokerRunsPublisher[disabled=false],
 
org.jenkinsci.plugins.pipeline.maven.publishers.PipelineGraphPublisher[disabled=false,
 scopes=[compile, provided, runtime], versions={snapshot:true, release:false}, 
skipDownstreamTriggers=false, lifecycleThreshold=deploy, 
ignoreUpstreamTriggers=false]]
[withMaven] Available options: 
[withMaven] using JDK installation JDK 1.8 (latest)
[withMaven] using Maven installation 'Maven 3.6.0'
[Pipeline] {
[Pipeline] sh
+ mvn clean verify -B -U -e -fae -V -Dmaven.test.failure.ignore=true
----- withMaven Wrapper script -----
Picked up JAVA_TOOL_OPTIONS: 
-Dmaven.ext.class.path="/home/jenkins/jenkins-slave/workspace/maven-box_maven_MNG-6674/build@tmp/withMaven1a1567ae/pipeline-maven-spy.jar"
 
-Dorg.jenkinsci.plugins.pipeline.maven.reportsFolder="/home/jenkins/jenkins-slave/workspace/maven-box_maven_MNG-6674/build@tmp/withMaven1a1567ae"
 
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; 
support was removed in 8.0
Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 
2018-10-24T18:41:47Z)
Maven home: /home/jenkins/tools/maven/apache-maven-3.6.0
Java version: 1.8.0_191, vendor: Oracle Corporation, runtime: 
/usr/local/asfpackages/java/jdk1.8.0_191/jre
Default locale: en_US, platform encoding: ISO-8859-1
OS name: "linux", version: "4.4.0-154-generic", arch: "amd64", family: "unix"
[INFO] [jenkins-event-spy] Generate 
/home/jenkins/jenkins-slave/workspace/maven-box_maven_MNG-6674/build@tmp/withMaven1a1567ae/maven-spy-20190726-223701-2258827153325682373783.log.tmp
 ...
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  0.162 s
[INFO] Finished at: 2019-07-26T22:37:01Z
[INFO] ------------------------------------------------------------------------
[INFO] [jenkins-event-spy] Generated 
/home/jenkins/jenkins-slave/workspace/maven-box_maven_MNG-6674/build@tmp/withMaven1a1567ae/maven-spy-20190726-223701-2258827153325682373783.log
[ERROR] The goal you specified requires a project to execute but there is no 
POM in this directory 
(/home/jenkins/jenkins-slave/workspace/maven-box_maven_MNG-6674/build). Please 
verify you invoked Maven from the correct directory. -> [Help 1]
org.apache.maven.lifecycle.MissingProjectException: The goal you specified 
requires a project to execute but there is no POM in this directory 
(/home/jenkins/jenkins-slave/workspace/maven-box_maven_MNG-6674/build). Please 
verify you invoked Maven from the correct directory.
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute 
(LifecycleStarter.java:84)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke 
(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke 
(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:498)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced 
(Launcher.java:289)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch 
(Launcher.java:229)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode 
(Launcher.java:415)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main 
(Launcher.java:356)
[ERROR] 
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MissingProjectException
[Pipeline] }
[Fast Archiver] No prior successful build to compare, so performing full copy 
of artifacts
[withMaven] Publishers: Generated Artifacts Publisher: 196 ms
[Pipeline] // withMaven
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[Pipeline] // node
[Pipeline] echo
[FAILURE-003] AbortException hudson.AbortException: script returned exit code 1
[Pipeline] stage
[Pipeline] { (Notifications)
[Pipeline] echo
Build result: FAILURE
[Pipeline] jiraIssueSelector
[Pipeline] emailext

Reply via email to