Change By: Jennifer Hofmeister (14/Oct/14 4:39 PM)
Description: After updating Jenkins from 1.551 to 1.565.2, some of our Maven-type jobs fail with the following message:

"[INFO] Scanning for projects...
[ERROR] The build could not read 1 project -> [Help 1]
org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs:
[FATAL] Non-readable POM D:\Jenkins\Jobs\JobName\workspace\JobName-test: D:\Jenkins\Jobs\JobName\workspace\JobName-test (Access is denied)"

D:\...\JobName-test contains the pom.xml. 

It happens when Maven is called through "Invoke top-level Maven targets".
Maven Version: (Default)
Goals: verify -X -f "D:\Jenkins\Jobs\JobName\workspace\JobName-test" -Dparam1=abc -Dparam2=def -Dparam3=10

The Jenkins user account on Windows has all access rights on the Jenkins directories and files.

The odd thing about this is that we have another set of Maven-type jobs that run just fine, with the same kind of build step. The only difference is that those are generated from a template job while the failing ones are not. All of them worked fine before the update.

Unfortunately, reconstruction of this error is somewhat complicated since we have an issue with Jenkins giving no SVN credentials that sometimes aborts the build at an earlier point.
 It also occurred after the Jenkins update  ( https://issues . jenkins-ci.org/browse/JENKINS-25149 )  I  will open another issue for that, but I  suspect  the two  they  might be related  because the Jenkins update seems to have triggered them both .  It's a
Labels: credentials maven3
Assignee: stephenconnolly
Component/s: credentials
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to