ERROR The goal you specified requires a project to execute but there is no POM in this directory var lib jenkins workspace PipeLine

0 votes

Hi Guys, can any one help when I am using jenkinsfile with pipeline in Jenkins I am getting below error it is trying for POM file which is located in subproject Jenkins could not able to get that file.

I am getting the below error:

[INFO] [jenkins-event-spy] Generated /var/lib/jenkins/workspace/PipeLine@tmp/withMavena52ee8a2/maven-spy-20200129-201743-4002545563082768384061.log
[ERROR] The goal you specified requires a project to execute but there is no POM in this directory (/var/lib/jenkins/workspace/PipeLine). Please verify you invoked Maven from the correct directory. -> [Help 1]
Feb 6, 2020 in Jenkins by anonymous
• 19,550 points
5,936 views

1 answer to this question.

0 votes
issue with accessing POM file through Jenkins, guess you need to provide permissions to pom file.
answered Feb 6, 2020 by anonymous
• 59,190 points

Related Questions In Jenkins

0 votes
1 answer
+1 vote
4 answers

Is there a way to change the Jenkins build number while building a job?

If you have access to the script ...READ MORE

answered May 7, 2019 in Jenkins by Atul
33,711 views
+1 vote
3 answers

How to auto build a job in jenkins if there is any change in code on Github repository?

To automatically run build on code commit, follow ...READ MORE

answered Jul 31, 2019 in Jenkins by Sirajul
• 59,190 points
84,612 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
9,028 views
+2 votes
1 answer

How to store data in Hyperledger Fabric after restart?

When you use docker-compose down, all the ...READ MORE

answered Jul 27, 2018 in Blockchain by digger
• 26,740 points
7,459 views