Skip to content

Commit

Permalink
[JENKINS-28367] Add error message to allow fallback to 'p4 login -p'.
Browse files Browse the repository at this point in the history
checkAuthnErrors was not detecting the error message for 'p4 login -a
-p' when the '-a' option is not allowed by the server.  Added the
message to p4errors so that a PerforceException would be thrown and
cause the fallback implemented in 55762a9 to occur.
  • Loading branch information
mjdetullio committed Jun 24, 2015
1 parent dbfe554 commit c1a8420
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -65,6 +65,7 @@ public abstract class AbstractPerforceTemplate {
"You don't have permission for this operation.",
"Password invalid.",
"The authenticity of",
"User not allowed to create a ticket that is valid on all host machines.",
};

private static final int P4_EXECUTOR_CHECK_PERIOD = 2000;
Expand Down

0 comments on commit c1a8420

Please sign in to comment.