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,600 points
2,845 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,170 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
22,264 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,170 points
49,884 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
1,764 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
16,317 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,170 points

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