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,610 points
4,359 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,230 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
29,830 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,230 points
78,908 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
4,063 views
+2 votes
1 answer
0 votes
3 answers

How to get the Maven Version of a project in Jenkins?

Here is a snippet from our Jenkins ...READ MORE

answered Oct 4, 2019 in Jenkins by Petr Doležal
23,289 views
+3 votes
2 answers

Is there a way to restrict permissions to a user per individual job in jenkins?

Yes, you can configure user permissions per ...READ MORE

answered May 28, 2019 in Jenkins by Sirajul
• 59,230 points

edited May 28, 2019 by Sirajul 112,513 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP