Build: #23 failed

Job: Default Job failed

Stages & jobs

  1. Default Stage

Build log

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

06-Jul-2023 13:02:31 Build Atlassian - Atlassian Agent - Default Job #23 (AA-AA-JOB1-23) is being prepared for building on agent bamboo-agent-cb875cc4-qcpqj, bamboo version: 9.3.0
06-Jul-2023 13:02:31 Remote agent on host bamboo-agent-cb875cc4-qcpqj
06-Jul-2023 13:02:42 Build working directory is /var/atlassian/application-data/bamboo-agent/xml-data/build-dir/AA-AA-JOB1
06-Jul-2023 13:02:49 Executing build Atlassian - Atlassian Agent - Default Job #23 (AA-AA-JOB1-23)
06-Jul-2023 13:02:49 Starting task 'Source Code Checkout' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
06-Jul-2023 13:02:49 Build always requires a clean checkout
06-Jul-2023 13:02:49 Cleaning build directory '/var/atlassian/application-data/bamboo-agent/xml-data/build-dir/AA-AA-JOB1'
06-Jul-2023 13:02:49 Checking out into /var/atlassian/application-data/bamboo-agent/xml-data/build-dir/AA-AA-JOB1
06-Jul-2023 13:02:49 Updating source code to revision: 1176e92ca81c18d099ed6873a36e7cfa9f40a87c
06-Jul-2023 13:02:49 Fetching 'refs/heads/master' from 'ssh://git@bitbucket:7999/at/atlassian-agent.git'.
06-Jul-2023 13:02:49 Warning: Permanently added '[127.0.0.1]:40821' (RSA) to the list of known hosts.
06-Jul-2023 13:02:49 Checking out revision 1176e92ca81c18d099ed6873a36e7cfa9f40a87c.
06-Jul-2023 13:02:49 Creating local git repository in '/var/atlassian/application-data/bamboo-agent/xml-data/build-dir/AA-AA-JOB1/.git'.
06-Jul-2023 13:02:49 Cloning into '/var/atlassian/application-data/bamboo-agent/xml-data/build-dir/AA-AA-JOB1'...
06-Jul-2023 13:02:49 done.
06-Jul-2023 13:02:50 Already on 'master'
06-Jul-2023 13:02:50 Your branch is up to date with 'origin/master'.
06-Jul-2023 13:02:50 Updated source code to revision: 1176e92ca81c18d099ed6873a36e7cfa9f40a87c
06-Jul-2023 13:02:50 Finished task 'Source Code Checkout' with result: Success
06-Jul-2023 13:02:50 Running pre-build action: Build Log Labeller Pre Build Action
06-Jul-2023 13:02:50 Running pre-build action: VCS Version Collector
06-Jul-2023 13:02:50 Build Atlassian - Atlassian Agent - Default Job #23 (AA-AA-JOB1-23) started building on agent 'bamboo-agent-cb875cc4-qcpqj' (Remote agent on host bamboo-agent-cb875cc4-qcpqj)
06-Jul-2023 13:03:04 Starting task 'Maven 3.x' of type 'com.atlassian.bamboo.plugins.maven:task.builder.mvn3'
06-Jul-2023 13:03:08
Beginning to execute external process for build 'Atlassian - Atlassian Agent - Default Job #23 (AA-AA-JOB1-23)'
... 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
06-Jul-2023 13:03:11 [INFO] Scanning for projects...
06-Jul-2023 13:03:12 [INFO]
06-Jul-2023 13:03:12 [INFO] --------------< io.zhile.crack.atlassian:atlassian-agent >--------------
06-Jul-2023 13:03:12 [INFO] Building atlassian-agent 1.0
06-Jul-2023 13:03:12 [INFO] --------------------------------[ jar ]---------------------------------
06-Jul-2023 13:03:12 [INFO]
06-Jul-2023 13:03:12 [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ atlassian-agent ---
06-Jul-2023 13:03:12 [INFO] Using 'UTF-8' encoding to copy filtered resources.
06-Jul-2023 13:03:12 [INFO] skip non existing resourceDirectory /var/atlassian/application-data/bamboo-agent/xml-data/build-dir/AA-AA-JOB1/src/main/resources
06-Jul-2023 13:03:12 [INFO]
06-Jul-2023 13:03:12 [INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ atlassian-agent ---
06-Jul-2023 13:03:13 [INFO] Changes detected - recompiling the module!
06-Jul-2023 13:03:13 [INFO] Compiling 24 source files to /var/atlassian/application-data/bamboo-agent/xml-data/build-dir/AA-AA-JOB1/target/classes
06-Jul-2023 13:03:15 [INFO] -------------------------------------------------------------
06-Jul-2023 13:03:15 [ERROR] COMPILATION ERROR :
06-Jul-2023 13:03:15 [INFO] -------------------------------------------------------------
06-Jul-2023 13:03:15 [ERROR] /var/atlassian/application-data/bamboo-agent/xml-data/build-dir/AA-AA-JOB1/src/main/java/io/zhile/crack/atlassian/license/products/ThirdPlugin.java:[28,35] cannot find symbol
06-Jul-2023 13:03:15   symbol:   variable DATA_CENTER
06-Jul-2023 13:03:15   location: class io.zhile.crack.atlassian.license.LicenseType
06-Jul-2023 13:03:15 [INFO] 1 error
06-Jul-2023 13:03:15 [INFO] -------------------------------------------------------------
06-Jul-2023 13:03:15 [INFO] ------------------------------------------------------------------------
06-Jul-2023 13:03:15 [INFO] BUILD FAILURE
06-Jul-2023 13:03:15 [INFO] ------------------------------------------------------------------------
06-Jul-2023 13:03:15 [INFO] Total time:  3.821 s
06-Jul-2023 13:03:15 [INFO] Finished at: 2023-07-06T13:03:15Z
06-Jul-2023 13:03:15 [INFO] ------------------------------------------------------------------------
06-Jul-2023 13:03:15 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project atlassian-agent: Compilation failure
06-Jul-2023 13:03:15 [ERROR] /var/atlassian/application-data/bamboo-agent/xml-data/build-dir/AA-AA-JOB1/src/main/java/io/zhile/crack/atlassian/license/products/ThirdPlugin.java:[28,35] cannot find symbol
06-Jul-2023 13:03:15 [ERROR]   symbol:   variable DATA_CENTER
06-Jul-2023 13:03:15 [ERROR]   location: class io.zhile.crack.atlassian.license.LicenseType
06-Jul-2023 13:03:15 [ERROR] -> [Help 1]
06-Jul-2023 13:03:15 [ERROR]
06-Jul-2023 13:03:15 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
06-Jul-2023 13:03:15 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
06-Jul-2023 13:03:15 [ERROR]
06-Jul-2023 13:03:15 [ERROR] For more information about the errors and possible solutions, please read the following articles:
06-Jul-2023 13:03:15 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
06-Jul-2023 13:03:15 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
06-Jul-2023 13:03:15 Finished task 'Maven 3.x' with result: Failed
06-Jul-2023 13:03:15 Running post build plugin 'Docker Container Cleanup'
06-Jul-2023 13:03:15 Running post build plugin 'NCover Results Collector'
06-Jul-2023 13:03:15 Running post build plugin 'Build Results Label Collector'
06-Jul-2023 13:03:15 Running post build plugin 'Clover Results Collector'
06-Jul-2023 13:03:15 Running post build plugin 'npm Cache Cleanup'
06-Jul-2023 13:03:15 Running post build plugin 'Artifact Copier'
06-Jul-2023 13:03:15 Publishing an artifact: jar
06-Jul-2023 13:03:15 Failing as no matching files has been found and empty artifacts are not allowed.
06-Jul-2023 13:03:15 Unable to publish artifact [jar]:
06-Jul-2023 13:03:15 The artifact is required, build will now fail.
06-Jul-2023 13:03:15 The artifact hasn't been successfully published after 65.97 ms
06-Jul-2023 13:03:15 Finalising the build...
06-Jul-2023 13:03:15 Stopping timer.
06-Jul-2023 13:03:15 Build AA-AA-JOB1-23 completed.
06-Jul-2023 13:03:30 Running on server: post build plugin 'Build Hanging Detection Configuration'
06-Jul-2023 13:03:30 Running on server: post build plugin 'Bamboo project link creator'
06-Jul-2023 13:03:30 Running on server: post build plugin 'NCover Results Collector'
06-Jul-2023 13:03:30 Running on server: post build plugin 'Build Labeller'
06-Jul-2023 13:03:30 Running on server: post build plugin 'Clover Delta Calculator'
06-Jul-2023 13:03:30 Running on server: post build plugin 'Maven Dependencies Postprocessor'
06-Jul-2023 13:03:30 All post build plugins have finished
06-Jul-2023 13:03:30 Generating build results summary...
06-Jul-2023 13:03:31 Saving build results to disk...
06-Jul-2023 13:03:32 Store variable context...
06-Jul-2023 13:03:32 Finished building AA-AA-JOB1-23.