[JIRA] (JENKINS-52679) p4 plugin with spec file( load workspace spec from file in perforce) is not updating the workspace specs

16 views
Skip to first unread message

bharani.batna@gmail.com (JIRA)

unread,
Jul 20, 2018, 3:31:02 PM7/20/18
to jenkinsc...@googlegroups.com
Bharani Batna created an issue
 
Jenkins / Bug JENKINS-52679
p4 plugin with spec file( load workspace spec from file in perforce) is not updating the workspace specs
Issue Type: Bug Bug
Assignee: Unassigned
Components: p4-plugin
Created: 2018-07-20 19:30
Priority: Minor Minor
Reporter: Bharani Batna

Hi 

When using P4 plugin with the option to load workspace spec file from perforce, It is not updating the client spec.

Also as a requirement ,we had to add a changeview section:

ChangeView:

//path-to-a specificpath...@p4check-auto-label

Log is given below.
Building remotely on
in workspace c:\jenkins\workspace****... p4 client -o *******workspace name******* +
 
... p4 info +
 
... p4 print -q **pathto specfile from perforce** +
 
Client P4CLIENT not changed.... p4 client -o **workspace_name**** +
 

Is adding changeview in the spec file is supported at all by p4 plugin? 

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396)

bharani.batna@gmail.com (JIRA)

unread,
Jul 20, 2018, 3:47:02 PM7/20/18
to jenkinsc...@googlegroups.com

pallen@perforce.com (JIRA)

unread,
Oct 18, 2018, 9:54:02 AM10/18/18
to jenkinsc...@googlegroups.com
Paul Allen updated an issue
Change By: Paul Allen
Labels: P4_VERIFY
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

kwirth@perforce.com (JIRA)

unread,
Dec 17, 2018, 6:01:02 AM12/17/18
to jenkinsc...@googlegroups.com

timostordell@yahoo.com (JIRA)

unread,
Apr 11, 2019, 6:34:02 AM4/11/19
to jenkinsc...@googlegroups.com

pallen@perforce.com (JIRA)

unread,
Jun 4, 2019, 10:50:02 AM6/4/19
to jenkinsc...@googlegroups.com

pallen@perforce.com (JIRA)

unread,
Jun 4, 2019, 10:50:06 AM6/4/19
to jenkinsc...@googlegroups.com

pallen@perforce.com (JIRA)

unread,
Jun 4, 2019, 11:32:01 AM6/4/19
to jenkinsc...@googlegroups.com
Paul Allen commented on New Feature JENKINS-52679
 
Re: p4 plugin with spec file( load workspace spec from file in perforce) is not updating the workspace specs

Are you using the 'Spec File (load workspace spec from file in Perforce)' option on a FreeStyle Jenkins project?

The 'Manual (custom view)' option should work for change view for both FreeStyle and Pipeline Projects.  I'll need to verify 'Spec File'.

pallen@perforce.com (JIRA)

unread,
Jun 4, 2019, 11:57:03 AM6/4/19
to jenkinsc...@googlegroups.com

(1) A few issues here - any spec errors are not raised to the user

(2) spec file must use ${P4_CLIENT} which will get expanded later  e.g.

Client: ${P4_CLIENT}
Update: 2019/01/24 14:24:06
Access: 2019/06/04 16:25:24
Owner: pallen
Description: 
   Created by pallen.
Root: /Users/pallen/Perforce/1666/ws
Options: noallwrite noclobber nocompress unlocked nomodtime normdir
SubmitOptions: submitunchanged
LineEnd: local
View: 
   //depot/... //${P4_CLIENT}/... 

 

pallen@perforce.com (JIRA)

unread,
Jun 4, 2019, 12:04:02 PM6/4/19
to jenkinsc...@googlegroups.com

Ok this seems to work with a change view:

Client:	${P4_CLIENT}
Update:	2019/01/24 14:24:06
Access:	2019/06/04 16:25:24
Owner:	pallen
Description:
        Created by pallen.
Root:	/Users/pallen/Perforce/1666/ws
Options:	noallwrite noclobber nocompress unlocked nomodtime normdir
SubmitOptions:	submitunchanged
LineEnd:	local
View:
        //depot/projA/... //${P4_CLIENT}/...
ChangeView:
        //depot/projA/...@2239 

log...

P4 Task: syncing files at change: 2239
... p4 sync -q /Users/pallen/Workspaces/main.p4-jenkins/public/work/workspace/ChangeViewFree/...@2239 

pallen@perforce.com (JIRA)

unread,
Jun 4, 2019, 12:05:02 PM6/4/19
to jenkinsc...@googlegroups.com

Requires: DOC example and raise warning messages from 'execmap: client -i' to the user.

pallen@perforce.com (JIRA)

unread,
Jun 5, 2019, 9:34:02 AM6/5/19
to jenkinsc...@googlegroups.com
Paul Allen started work on New Feature JENKINS-52679
 
Change By: Paul Allen
Status: Open In Progress

pallen@perforce.com (JIRA)

unread,
Jun 5, 2019, 10:30:03 AM6/5/19
to jenkinsc...@googlegroups.com

pallen@perforce.com (JIRA)

unread,
Jun 5, 2019, 10:31:03 AM6/5/19
to jenkinsc...@googlegroups.com

kwilliamson@perforce.com (JIRA)

unread,
Jul 2, 2019, 5:28:06 AM7/2/19
to jenkinsc...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages