I have configured enabled and configured bitbucket-pipeline with my code(java, maven,spring boot) in bit bucket. But each time I try to run build it fails with below message
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.080 s
[INFO] Finished at: 2016-10-23T11:06:58+00:00
[INFO] Final Memory: 13M/483M
[INFO] ------------------------------------------------------------------------
[ERROR] The goal you specified requires a project to execute but there is no POM in this directory (/opt/atlassian/pipelines/agent/build). Please verify you invoked Maven from the correct directory. -> [Help 1]
[ERROR]
Not Sure why it is looking for path
/opt/atlassian/pipelines/agent/build.
Below is my bitbucket-pipelines.yml
# You can specify a custom docker image from Docker Hub as your build environment.
image: maven:3.3.3
pipelines:
default:
- step:
script: # Modify the commands below to build your repository.
- mvn clean installPlease let me know what I am missing in my setup. Thanks.