[JIRA] (JENKINS-61035) Polling build filters case sensitive on -C1 server

38 views
Skip to first unread message

kwirth@perforce.com (JIRA)

unread,
Feb 10, 2020, 1:53:02 PM2/10/20
to jenkinsc...@googlegroups.com
Karl Wirth updated an issue
 
Jenkins / Improvement JENKINS-61035
Polling build filters case sensitive on -C1 server
Change By: Karl Wirth
Labels: P4_VERIFY
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

kwirth@perforce.com (JIRA)

unread,
Feb 10, 2020, 1:53:03 PM2/10/20
to jenkinsc...@googlegroups.com
Karl Wirth created an issue
Issue Type: Improvement Improvement
Assignee: Unassigned
Components: p4-plugin
Created: 2020-02-10 18:52
Environment: p4-plugin 1.10.10
Jenkins 2.176.1
P4D 2019.2
Priority: Minor Minor
Reporter: Karl Wirth

Polling build filters are case sensitive when connected to a case insensitive server.

For example if the polling build filter is '//depot/sub' submitting '//depot/sub/f1' will be ignored but submitting '//depot/SUB/f1' will trigger a build.

Note this behavior on a Linux client. If I create a directory called SUB and sync when connected to a C1 server this is what I see:

$ cd SUB
$ p4 sync ...
//depot/SUB/f10#1 - added as /wsC1/SUB/f10
//depot/sub/f6#1 - added as /wsC1/SUB/f6
//depot/sub/f7#1 - added as /wsC1/SUB/f7
//depot/sub/f9#1 - added as /wsC1/SUB/f9

Note that in depot syntax files in SUB and sub are treated the same.

Reproduction Steps:

(1) Start a Perforce server with the -C1 flag:

p4d -r /p1/1/root -L log -C1 -p 1666

(2) Create a 'jenkins' users in this P4D.

(3) Create a workspace on a Linux box and  submit the file '//depot/sub/f1'.

(4) Create a Jenkins polled job with a workspace view of '//depot/... ${P4_CLIENT}/...'.

(5) Add the polling build filter:

//depot/sub

(6) Run the job once.

(7) Submit the file '//depot/sub/f2'.

(8) Run 'Poll Now'. The build is not triggered.

(9) Remove the files from the workspace using:

p4 sync //...#0

(10) Rename the folder 'sub' to be 'SUB'.

(11) Submit the file '//depot/SUB/f3'.

(12) Run 'Poll Now'. The build IS not triggered.

Expected Behavior:

The build is not triggered.

 

Workaround:

Need to add every possible variation of the path's case to the polling build filter.

 

 

 

 

williambrode@gmail.com (JIRA)

unread,
Feb 10, 2020, 5:44:03 PM2/10/20
to jenkinsc...@googlegroups.com

kwirth@perforce.com (JIRA)

unread,
Feb 11, 2020, 7:16:03 AM2/11/20
to jenkinsc...@googlegroups.com

William Brode - Thanks. Have linked them both so dev can see.

Reply all
Reply to author
Forward
0 new messages