[p4] P4IGNORE working but not?
Tsaukpaetra <[email protected]> Wed, 7 Feb 2018 10:05:01 -0800
| Newsgroups | gmane.comp.version-control.perforce |
|---|---|
| Message-ID | <[email protected]> |
Posted on behalf of forum user 'Tsaukpaetra'. So I'm having quite a conundrum using .p4ignore files. Previously on Windows I had a .p4ignore file like so for Jenkins: build.xml fingerprints/ So, one file and one folder. This worked fine, people couldn't add any file named build.xml, and anything in the fingerprints folder couldn't be added either. Switching to FreeBSD (due to complications with things), Jenkins is up and running and I sync down all the files. Checking the .p4ignore file, I indeed cannot add build.xml files, but I can add stuff in the fingerprints folder! root@bobthebuilder:/usr/local/jenkins # p4 -p perforce:1666 -c jenkins-config add jobs/testJob/1/build.xml //depot/Jenkins/jobs/Per-Commit builds/jobs/testJob/1/build.xml#1 - opened for add /usr/local/jenkins/jobs/Per-Commit builds/jobs/testJob/1/build.xml - ignored file can't be added. root@bobthebuilder:/usr/local/jenkins # p4 -p perforce:1666 -c jenkins-config add fingerprints/ed/67/51df02fe57e33252403aa35ec215.xml //depot/Jenkins/fingerprints/ed/67/51df02fe57e33252403aa35ec215.xml#1 - currently opened for add According to p4 ignores , it rightly *should* be ignored: root@bobthebuilder:/usr/local/jenkins # p4 -p purrforce:1666 -c jenkins-config ignores -i -v fingerprints/ed/67/51df02fe57e33252403aa35ec215.xml /usr/local/jenkins/fingerprints/ed/67/51df02fe57e33252403aa35ec215.xml ignored by /usr/local/jenkins/.p4ignore:2:fingerprints/ So... any ideas what I'm doing wrong here? -- Please click here to see the post in its original format: http://forums.perforce.com/index.php?/topic/5618-p4ignore-working-but-not _______________________________________________ perforce-user mailing list - [email protected] http://maillist.perforce.com/mailman/listinfo/perforce-user