Jenkins build failure console output

573 views
Skip to first unread message

Martin

unread,
Oct 20, 2015, 2:30:21 AM10/20/15
to Jenkins Users
I am receiving this error message in the output at the end. It says it can not find the root pom.xml. The reason is that the build workspace directory is empty: /var/lib/jenkins/workspace/bbword-build/, which means Jenkins fails to copy the project files (including the root pom.xml) to Jenkin's build workspace.

What might cause this? My Jenkins is installed on Ubuntu under the user "jenkins" by default:
drwxr-xr-x 11 jenkins jenkins 4096 Oct 20 02:21 jenkins/

Thanks.

Started by an SCM change
Building in workspace /var/lib/jenkins/workspace/bbword-build
... p4 client -o jenkins_workspace +
P4 Task: establishing connection. ... server: p4.bbword.com:1666 ... node: Jenkins
... p4 info +
... p4 client -o jenkins_workspace +
... client: jenkins_workspace
... p4 client -o jenkins_workspace +
... p4 counter change +
... p4 changes -m1 //jenkins_workspace/... +
Building on Node: master
... p4 client -o jenkins_workspace +
P4 Task: establishing connection. ... server: p4.bbword.com:1666 ... node: Jenkins P4 Task: reverting all pending and shelved revisions.
... p4 revert /home/abigail/p4/projects//... +
... rm [abandoned files] duration: (11ms) P4 Task: cleaning workspace to match have list.
... p4 reconcile -w -f /home/abigail/p4/projects//... +
duration: (9ms) P4 Task: syncing files at change: 19
... p4 sync -q /home/abigail/p4/projects//...@19 +
duration: (10ms) P4 Task: saving built changes.
... p4 client -o jenkins_workspace +
... p4 client -o jenkins_workspace +
... p4 change -o 19 +
... p4 user -o jenkins +
... p4 change -o 19 +
... p4 describe -s 19 +
... p4 fixes -c19 +
... done Parsing POMs ERROR: No such file /var/lib/jenkins/workspace/bbword-build/pom.xml Perhaps you need to specify the correct POM file path in the project configuration? Sending e-mails to: x...@gmail.com Finished: FAILURE

Ginga, Dick

unread,
Oct 20, 2015, 7:42:56 AM10/20/15
to jenkins...@googlegroups.com

It appears that Perforce is building a workspace at /home/abigail/p4/projects//.... I suppose the workspace definition could include mapping some files to /var/lib/jenkins/workspace.

 

What is your Perforce workspace definition?

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/1d30d988-8fcb-4ab1-8f60-194d98d2a18d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Martin

unread,
Oct 21, 2015, 12:51:30 AM10/21/15
to Jenkins Users
Hi, I switched to Perforce plugin from P4 Plugin from Perforce, and everything works fine. It seems the new P4 plugin is a lot harder to configure.

Thank you.
Martin
Reply all
Reply to author
Forward
0 new messages