When performing maven writing to POM file fails

2014-02-11 Thread Alex Martinson
Hi
When building a project everything seems to be OK as building a maven
project without releasing it does not require files ( at least the POM file
) to be checked out. But when trying to perform a maven release I get the
error below:

*/[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-release-plugin:2.3.2:prepare (default-cli) on
project risk-position-library-testing: Error writing POM:
/data/risktech-local/services/jenkins/workspace/risk-mtm-testing/risk/risk-position-library-testing/pom.xml
(Permission denied) - [Help 1] /*

I am assuming this is due to the fact that the maven release:prepare step
fails because the files under the workspace cannot be checked out through
perforce plugin. Checking the files udner the workspace we can see that the
pom.xml is read-only.

*-r--r- 1 riskrun software 1313 Feb 11 10:34 pom.xml*

Release gols and options in the Jenkins project: *-Dresume=false
-DignoreSnapshots=true release:prepare release:perform*

I need to emphsize that the workspace gets downloaded from our SCM and all
the files are there but checking them out fails during the maven release
build. So could anyone tell me what that problem is?

*Additional information:*
==
*Jenkins version: 1.540
Perforce Plugin vesion: 1.3.27
Jenkins maven relase Plugin version: 0.13.0*
==

Your help is appreciated.
Thanks



--
View this message in context: 
http://jenkins-ci.361315.n4.nabble.com/When-performing-maven-writing-to-POM-file-fails-tp4690172.html
Sent from the Jenkins issues mailing list archive at Nabble.com.

-- 
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/groups/opt_out.


How can you prevent Jenksins from building all projects after it is restarted?

2014-02-06 Thread Alex Martinson
Currently every time I restart the Jenkins server.. every single projects
starts being built. I would like to stop that from happening. There have
been suggestions to use a groovy script. But I can see the Script Console
when the Jenkins is up and running and it is a bit too late for what I am
trying to achieve.

Is there any other way to do this? I do not want to disable the build
projects. The only thing I need is to stop the server from building them all
after Jenkins server is restarted.

thanks a lot
Alex



--
View this message in context: 
http://jenkins-ci.361315.n4.nabble.com/How-can-you-prevent-Jenksins-from-building-all-projects-after-it-is-restarted-tp4689553.html
Sent from the Jenkins issues mailing list archive at Nabble.com.

-- 
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/groups/opt_out.