[JIRA] (JENKINS-57327) changeView option ignored, not added to client spec

2019-05-22 Thread aaronkmil...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Aaron Miller commented on  JENKINS-57327  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: changeView option ignored, not added to client spec   
 

  
 
 
 
 

 
 Hi Karl, Apologies for not getting back to you sooner. I created a new job with only the checkout step shown above wrapped in a node() step and got the same result. I also used a workspace name that didn't already exist. I verified with  

 
p4 client -o jenkins-mynode-testing 

  that the ChangeView was not added to the client spec, and that the workspace contains the latest file revisions. Let me know if there's any other info I can provide, thanks.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.199099.1557004231000.9664.1558574640179%40Atlassian.JIRA.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-57327) changeView option ignored, not added to client spec

2019-05-21 Thread kwi...@perforce.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Karl Wirth commented on  JENKINS-57327  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: changeView option ignored, not added to client spec   
 

  
 
 
 
 

 
 Hi Aaron Miller - I just wanted to check if you got my last message - included above.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.199099.1557004231000.7193.1558439460133%40Atlassian.JIRA.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-57327) changeView option ignored, not added to client spec

2019-05-07 Thread kwi...@perforce.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Karl Wirth updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-57327  
 
 
  changeView option ignored, not added to client spec   
 

  
 
 
 
 

 
Change By: 
 Karl Wirth  
 
 
Labels: 
 P4_SUPPORT plugin  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.199099.1557004231000.19866.1557237600361%40Atlassian.JIRA.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-57327) changeView option ignored, not added to client spec

2019-05-07 Thread kwi...@perforce.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Karl Wirth commented on  JENKINS-57327  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: changeView option ignored, not added to client spec   
 

  
 
 
 
 

 
 Hi Aaron Miller, Strangely mine works. 

 

checkout perforce(credential: 'JenkinsMaster',
	 populate: forceClean(have: false,
	 parallel: 
		[
		 enable: false,
		 minbytes: '1024',
		 minfiles: '1',
		 threads: '4'
		],
	 pin: '',
	 quiet: false),
	 workspace: manualSpec(charset: 'none',
	 cleanup: false,
	 name: 'jenkins-${NODE_NAME}-${JOB_NAME}-${EXECUTOR_NUMBER}-changeview',
	 pinHost: false,
	 spec: clientSpec(allwrite: false,
	 backup: true,
	 changeView: '//depot/Project1/...@307',
	 clobber: true,
	 compress: false,
	 line: 'LOCAL',
	 locked: false,
	 modtime: false,
	 rmdir: false,
	 serverID: '',
	 streamName: '',
	 type: 'WRITABLE',
	 view: '//depot/Project1/... //jenkins-${NODE_NAME}-${JOB_NAME}-${EXECUTOR_NUMBER}-changeview/...')))
 

 You can see that '307' is the CL I have set for my 'changeview'. In the job output I see it correctly syncing 307: 

 

P4 Task: syncing files at change: 307
... p4 sync /var/lib/jenkins/ANOTHER_SLAVE/workspace/PipelineEditor/...@307
 

 Note - The latest CL is '363' on this path: 

 

$ p4 changes -m1 //depot/Project1/...
Change 363 on 2019/04/08 by super@test_ws 'Submit of ./f363'
 

 Can you please try a simple test where your checkout step is the only one in the code from a fresh job. Do you still see the same bug?        
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

[JIRA] (JENKINS-57327) changeView option ignored, not added to client spec

2019-05-07 Thread kwi...@perforce.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Karl Wirth assigned an issue to Karl Wirth  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-57327  
 
 
  changeView option ignored, not added to client spec   
 

  
 
 
 
 

 
Change By: 
 Karl Wirth  
 
 
Assignee: 
 Karl Wirth  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.199099.1557004231000.19305.1557217920162%40Atlassian.JIRA.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-57327) changeView option ignored, not added to client spec

2019-05-07 Thread kwi...@perforce.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Karl Wirth commented on  JENKINS-57327  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: changeView option ignored, not added to client spec   
 

  
 
 
 
 

 
 Hi Aaron Miller. Thanks for highlighting this. I'll test it here and update the job with my findings.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.199099.1557004231000.19307.1557217920195%40Atlassian.JIRA.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-57327) changeView option ignored, not added to client spec

2019-05-04 Thread aaronkmil...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Aaron Miller created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-57327  
 
 
  changeView option ignored, not added to client spec   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Unassigned  
 
 
Components: 
 p4-plugin  
 
 
Created: 
 2019-05-04 21:10  
 
 
Environment: 
 Jenkins v2.175  p4-plugin v1.9.7  Perforce Server: P4D/LINUX26X86_64/2017.1/1559660 (2017/08/31)  
 
 
Labels: 
 plugin  
 
 
Priority: 
  Major  
 
 
Reporter: 
 Aaron Miller  
 

  
 
 
 
 

 
 Using the following checkout step, the changeView option is ignored. It is not added to the client spec and files from later changelists are synced to the workspace: 

 
Stage('Test') {
checkout([
$class: 'PerforceScm',
credential: 'mycredentials',
populate: [
$class: 'ForceCleanImpl',
have: true,
pin:  '',
quiet: true,
parallel: [
enable: false,
minbytes: '1024',
minfiles: '1',
path: '/usr/bin/p4',
threads: '4'
]
],
workspace: [
$class: 'ManualWorkspaceImpl',
charset: 'none',
name: 'jenkins-mynode-testing',
syncID: 'jenkins-mynode-testing',
pinHost: false,
spec: [
allwrite: true,
backup: false,
clobber: false,
compress: false,
line: 'LOCAL',
locked: false,