package org.jenkinsci.plugins.p4.credentials; import hudson.util.FormValidation; import org.kohsuke.stapler.QueryParameter; import com.cloudbees.plugins.credentials.CredentialsDescriptor; public abstract class P4CredentialsDescriptor extends CredentialsDescriptor { public FormValidation doCheckP4port(@QueryParameter String value) { if (value != null && value.startsWith("ssl:")) { return FormValidation .error("Do not prefix P4PORT with 'ssl:', use the SSL checkbox."); } return FormValidation.ok(); } }
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 11053 | Paul Allen | Branching using p4-jenkins | ||
//guest/perforce_software/p4jenkins/main/src/main/java/org/jenkinsci/plugins/p4/credentials/P4CredentialsDescriptor.java | |||||
#1 | 9690 | Paul Allen |
[Branching using p4-jenkins] Release 1.0.1 |
||
//guest/paul_allen/dev/p4-jenkins/p4-client/src/main/java/org/jenkinsci/plugins/p4/credentials/P4CredentialsDescriptor.java | |||||
#1 | 9672 | Paul Allen | Refactor name from 'p4_client' to 'p4'. | ||
//guest/paul_allen/dev/p4-jenkins/p4-client/src/main/java/org/jenkinsci/plugins/p4_client/credentials/P4CredentialsDescriptor.java | |||||
#1 | 9032 | Paul Allen |
Perforce Credentials help and form validation checks for misuse of 'ssl:' on P4PORT. (TPI-107) |