[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 in Jenkins by anonymous
• 15,200 points
679 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 by anonymous
• 57,750 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
10,605 views
0 votes
2 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
• 57,750 points
9,759 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 26, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
663 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
7,372 views
+2 votes
1 answer

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
• 57,750 points

edited May 28, 2019 by Sirajul 29,923 views