-
Bug
-
Resolution: Won't Fix
-
Major
-
None
-
Jenkins 2.7.3; p4-plugin 1.4.9
Our Jenkins instance uses a read-only perforce replica.
After updating the p4 plugin to v1.4.9, the error 'Replica does not support this command' for p4 revert is no longer quietly ignored and causes the Jenkins job to terminate.
The full output is now:
p4 revert [...]
Replica does not support this command.
ERROR: P4JAVA: Error(s):
Replica does not support this command.
This error now means that the plugin does not work with perforce replicas.
Unfortunately, reverting to 1.4.8 is not an option, as we require one of the other changes in 1.4.9.
- relates to
-
JENKINS-52088 Support for Perforce Buildfarm server
-
- Open
-
[JENKINS-39824] Plugin does not work with read-only perforce replica
Resolution | New: Won't Fix [ 2 ] | |
Status | Original: Open [ 1 ] | New: Closed [ 6 ] |
Resolution | Original: Won't Fix [ 2 ] | |
Status | Original: Closed [ 6 ] | New: Reopened [ 4 ] |
Attachment | New: image-2017-12-19-16-24-16-217.png [ 40738 ] |
Hi Daniel,
A read only replica is a use case we never envisaged because you cannot update the have list during sync. The reason it stopped working in 1.4.9 is that we realized there were a lot of failures the plugin was silently ignoring so invalid builds may have been generated without being flagged to the end users. Therefore the plugin now flags most errors.
Can you please confirm that the replica is a read-only and not forwarding replica. Which major version of P4D is this on?
Also would it be possible to get a general description of the build that used to work so we can see how you use it.
Thanks in advance,
Karl