Build: #2 failed

Job: Default Job failed

Stages & jobs

  1. Default Stage

Build log

The build generated 48 lines of output. Download or view full build log.

02-Jul-2023 18:29:39 Build Atlassian Agent - Atlassian Agent - Default Job #2 (AA-AA-JOB1-2) is being prepared for building on agent bamboo-agent-7c9fff9bf4-gk22c, bamboo version: 9.3.0
02-Jul-2023 18:29:39 Remote agent on host bamboo-agent-7c9fff9bf4-gk22c
02-Jul-2023 18:29:39 Build working directory is /var/atlassian/application-data/bamboo-agent/xml-data/build-dir/AA-AA-JOB1
02-Jul-2023 18:29:40 Executing build Atlassian Agent - Atlassian Agent - Default Job #2 (AA-AA-JOB1-2)
02-Jul-2023 18:29:40 Running pre-build action: Build Log Labeller Pre Build Action
02-Jul-2023 18:29:40 Running pre-build action: VCS Version Collector
02-Jul-2023 18:29:40 Build Atlassian Agent - Atlassian Agent - Default Job #2 (AA-AA-JOB1-2) started building on agent 'bamboo-agent-7c9fff9bf4-gk22c' (Remote agent on host bamboo-agent-7c9fff9bf4-gk22c)
02-Jul-2023 18:29:40 Starting task 'Maven 3.x' of type 'com.atlassian.bamboo.plugins.maven:task.builder.mvn3'
02-Jul-2023 18:29:41
Beginning to execute external process for build 'Atlassian Agent - Atlassian Agent - Default Job #2 (AA-AA-JOB1-2)'
... running command line:
/opt/maven/bin/mvn --batch-mode -Djava.io.tmpdir=/tmp/AA-AA-JOB1 package
... in: /var/atlassian/application-data/bamboo-agent/xml-data/build-dir/AA-AA-JOB1
02-Jul-2023 18:29:41 [INFO] Scanning for projects...
02-Jul-2023 18:29:41 [INFO] ------------------------------------------------------------------------
02-Jul-2023 18:29:41 [INFO] BUILD FAILURE
02-Jul-2023 18:29:41 [INFO] ------------------------------------------------------------------------
02-Jul-2023 18:29:41 [INFO] Total time:  0.047 s
02-Jul-2023 18:29:41 [INFO] Finished at: 2023-07-02T18:29:41Z
02-Jul-2023 18:29:41 [INFO] ------------------------------------------------------------------------
02-Jul-2023 18:29:41 [ERROR] The goal you specified requires a project to execute but there is no POM in this directory (/var/atlassian/application-data/bamboo-agent/xml-data/build-dir/AA-AA-JOB1). Please verify you invoked Maven from the correct directory. -> [Help 1]
02-Jul-2023 18:29:41 [ERROR]
02-Jul-2023 18:29:41 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
02-Jul-2023 18:29:41 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
02-Jul-2023 18:29:41 [ERROR]
02-Jul-2023 18:29:41 [ERROR] For more information about the errors and possible solutions, please read the following articles:
02-Jul-2023 18:29:41 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MissingProjectException
02-Jul-2023 18:29:41 Failing task since return code of [/opt/maven/bin/mvn --batch-mode -Djava.io.tmpdir=/tmp/AA-AA-JOB1 package] was 1 while expected 0
02-Jul-2023 18:29:41 Finished task 'Maven 3.x' with result: Failed
02-Jul-2023 18:29:41 Running post build plugin 'Docker Container Cleanup'
02-Jul-2023 18:29:41 Running post build plugin 'NCover Results Collector'
02-Jul-2023 18:29:41 Running post build plugin 'Build Results Label Collector'
02-Jul-2023 18:29:41 Running post build plugin 'Clover Results Collector'
02-Jul-2023 18:29:41 Running post build plugin 'npm Cache Cleanup'
02-Jul-2023 18:29:41 Running post build plugin 'Artifact Copier'
02-Jul-2023 18:29:41 Publishing an artifact: jar
02-Jul-2023 18:29:41 Unable to publish artifact [jar]: the source directory /var/atlassian/application-data/bamboo-agent/xml-data/build-dir/AA-AA-JOB1/target does not exist.
02-Jul-2023 18:29:41 The artifact is required, build will now fail.
02-Jul-2023 18:29:41 The artifact hasn't been successfully published after 355.9 μs
02-Jul-2023 18:29:41 Finalising the build...
02-Jul-2023 18:29:41 Stopping timer.
02-Jul-2023 18:29:41 Build AA-AA-JOB1-2 completed.
02-Jul-2023 18:29:44 Running on server: post build plugin 'Build Hanging Detection Configuration'
02-Jul-2023 18:29:44 Running on server: post build plugin 'NCover Results Collector'
02-Jul-2023 18:29:44 Running on server: post build plugin 'Build Labeller'
02-Jul-2023 18:29:44 Running on server: post build plugin 'Clover Delta Calculator'
02-Jul-2023 18:29:44 Running on server: post build plugin 'Maven Dependencies Postprocessor'
02-Jul-2023 18:29:44 All post build plugins have finished
02-Jul-2023 18:29:44 Generating build results summary...
02-Jul-2023 18:29:44 Saving build results to disk...
02-Jul-2023 18:29:44 Store variable context...
02-Jul-2023 18:29:44 Finished building AA-AA-JOB1-2.