-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
♻️ Refactor code. 重构插件支持钉钉机器人 #97
Conversation
* @param secret The encryption key. | ||
* @return Returns the test result. If the test passes, it returns FormValidation.respond(Kind.OK); otherwise, it returns an error message. | ||
*/ | ||
public FormValidation doTest(@QueryParameter("id") String id, @QueryParameter("name") String name, |
Check warning
Code scanning / Jenkins Security Scan
Stapler: Missing POST/RequirePOST annotation Warning
* @param value Webhook key | ||
* @return Validation result, returns FormValidation.ok() if validation passes, otherwise returns an error message | ||
*/ | ||
public FormValidation doCheckWebhook(@QueryParameter String value) { |
Check warning
Code scanning / Jenkins Security Scan
Stapler: Missing POST/RequirePOST annotation Warning
/** | ||
* The unique key associated with the image. This key is typically used to fetch or reference the image. | ||
*/ | ||
private String imgKey; |
Check warning
Code scanning / Jenkins Security Scan
Jenkins: Plaintext password storage Warning
/** | ||
* Security key used for authentication. | ||
*/ | ||
private String keys; |
Check warning
Code scanning / Jenkins Security Scan
Jenkins: Plaintext password storage Warning
public static class ImageContent { | ||
|
||
@JsonProperty("image_key") | ||
private String imageKey; |
Check warning
Code scanning / Jenkins Security Scan
Jenkins: Plaintext password storage Warning
/** | ||
* The image key to be displayed in an IMAGE message. | ||
*/ | ||
private String imageKey; |
Check warning
Code scanning / Jenkins Security Scan
Jenkins: Plaintext password storage Warning
* @param secret The encryption key. | ||
* @return Returns the test result. If the test passes, it returns FormValidation.respond(Kind.OK); otherwise, it returns an error message. | ||
*/ | ||
public FormValidation doTest(@QueryParameter("id") String id, @QueryParameter("name") String name, |
Check warning
Code scanning / Jenkins Security Scan
Stapler: Missing permission check Warning
* @param value Webhook key | ||
* @return Validation result, returns FormValidation.ok() if validation passes, otherwise returns an error message | ||
*/ | ||
public FormValidation doCheckWebhook(@QueryParameter String value) { |
Check warning
Code scanning / Jenkins Security Scan
Stapler: Missing permission check Warning
* @param value Robot name | ||
* @return Validation result, returns FormValidation.ok() if validation passes, otherwise returns an error message | ||
*/ | ||
public FormValidation doCheckName(@QueryParameter String value) { |
Check warning
Code scanning / Jenkins Security Scan
Stapler: Missing permission check Warning
No description provided.