[JIRA] (JENKINS-7436) Add support for perforce shelve builds
Rob Petti commented on JENKINS-7436 Add support for perforce shelve builds Richard, This response is really late, but this is basically what I had in mind: -If there is a changeset already unshelved from last build: --Issue 'p4 opened' to get list of added files --Issue 'p4 revert' --Cleanup added files, since they would be left behind otherwise -Sync -Unshelve -Build Note that nowhere would we use '-k'. That would put the workspace into an inconsistent state, and we can't have that. 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
[JIRA] (JENKINS-7436) Add support for perforce shelve builds
Frank Merrow commented on JENKINS-7436 Add support for perforce shelve builds FWIW: This kind of a "pre-flight" feature has been on our To Do List for awhile now (just like this CR) . . . It would be great if you did it for us. wink Issue "voted" and "watched" 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
[JIRA] (JENKINS-7436) Add support for perforce shelve builds
[ https://issues.jenkins-ci.org/browse/JENKINS-7436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=160039#comment-160039 ] Rob Petti commented on JENKINS-7436: Wait, if you are leaving the unshelved files behind, doesn't that pollute the build environment for the next build? Or are you cleaning and force syncing on every build? Add support for perforce shelve builds -- Key: JENKINS-7436 URL: https://issues.jenkins-ci.org/browse/JENKINS-7436 Project: Jenkins Issue Type: New Feature Components: perforce Reporter: vbuzzsaw It would be really useful if the perforce plugin could add support for shelving -- Functionality added perforce in version 2009.2. Here is a good blog writeup --http://blog.perforce.com/blog/?p=1872 Many things hudson is great for is finding out if anyone broke the build by polling source repositories looking for commits and kicking off builds. But breaking builds and backing code is a pain sometimes. It would be even better if you could run a build in hudson BEFORE checking in your changelist to see if your changelist WOULD break the build and fix problems before they occur. That is exactly what perforce shelving does -- It allows you to shelve your changelist -- saving all your modifications to the server (without committing them), and then allowing others to pull down the shelved modified code and perform a build. I'm not sure if the underlying tek42 perforce client library you use supports shelving, but if so this would be really useful functionality. Thanks. Doug -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira