[JIRA] (JENKINS-41622) Perforce unshelve command override local file without revision verification.

2018-04-19 Thread wb...@perforce.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 W Basu commented on  JENKINS-41622  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Perforce unshelve command override local file without revision verification.   
 

  
 
 
 
 

 
 Alexander Kalach - is this still an issue for you?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
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.


[JIRA] (JENKINS-41622) Perforce unshelve command override local file without revision verification.

2018-02-08 Thread pal...@perforce.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Paul Allen commented on  JENKINS-41622  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Perforce unshelve command override local file without revision verification.   
 

  
 
 
 
 

 
 Possible fix in UnshelveTask: 

 

p4.unshelveFiles(shelf);

Populate populate = new AutoCleanImpl();
p4.syncFiles(new P4ChangeRef(shelf), populate);

p4.resolveFiles(resolve);

if(tidy) {
   p4.revertAllFiles(true);
} 

  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
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.


[JIRA] (JENKINS-41622) Perforce unshelve command override local file without revision verification.

2018-02-08 Thread pal...@perforce.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Paul Allen assigned an issue to Paul Allen  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-41622  
 
 
  Perforce unshelve command override local file without revision verification.   
 

  
 
 
 
 

 
Change By: 
 Paul Allen  
 
 
Assignee: 
 Paul Allen  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
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.


[JIRA] (JENKINS-41622) Perforce unshelve command override local file without revision verification.

2018-02-08 Thread pal...@perforce.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Paul Allen updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-41622  
 
 
  Perforce unshelve command override local file without revision verification.   
 

  
 
 
 
 

 
Change By: 
 Paul Allen  
 
 
Labels: 
 P4_B  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
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.


[JIRA] (JENKINS-41622) Perforce unshelve command override local file without revision verification.

2017-02-01 Thread rob.pe...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Rob Petti commented on  JENKINS-41622  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Perforce unshelve command override local file without revision verification.   
 

  
 
 
 
 

 
 Wrong plugin. I think you are looking for the p4-plugin. perforce-plugin doesn't have shelving functionality.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
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.


[JIRA] (JENKINS-41622) Perforce unshelve command override local file without revision verification.

2017-02-01 Thread rob.pe...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Rob Petti assigned an issue to Unassigned  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-41622  
 
 
  Perforce unshelve command override local file without revision verification.   
 

  
 
 
 
 

 
Change By: 
 Rob Petti  
 
 
Assignee: 
 Rob Petti  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
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.


[JIRA] (JENKINS-41622) Perforce unshelve command override local file without revision verification.

2017-02-01 Thread rob.pe...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Rob Petti updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-41622  
 
 
  Perforce unshelve command override local file without revision verification.   
 

  
 
 
 
 

 
Change By: 
 Rob Petti  
 
 
Component/s: 
 p4-plugin  
 
 
Component/s: 
 perforce-plugin  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
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.


[JIRA] (JENKINS-41622) Perforce unshelve command override local file without revision verification.

2017-02-01 Thread anekdotc...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Alexander Kalach created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-41622  
 
 
  Perforce unshelve command override local file without revision verification.   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Rob Petti  
 
 
Components: 
 perforce-plugin  
 
 
Created: 
 2017/Feb/01 12:46 PM  
 
 
Environment: 
 Jenkins ver: 2.32.1  P4 Plugin: 1.4.13  
 
 
Priority: 
  Major  
 
 
Reporter: 
 Alexander Kalach  
 

  
 
 
 
 

 
 We use Jenkins for pre-commit verification. To do this - developer shelve changes under CL. Jenkins job Sync to HEAD, unshelve changes, build and run verification. If someone submit changes in shelved file and developer don't update and re-shelve this file before verification - submitted changes will be overridden by shelved file without any errors or merge. Test case: 
 
create file test.txt with any content 
submit this file to Perforce under revision 1 
do any changes in this file and shelve it under CL 
change this file and submit under revision 2 
run job 
 
load file from SCM(configured in "Source Code Management>Perforce Software") 
unshelve CL in build steps 
  
check that second revision test.txt overridden by file from shelved CL.