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]