Validation of parameters in Jenkins plugin

104 Views Asked by At

I am developing a plugin that accepts some values from the user. I would like to validate the values user is providing when user is saving those values(not when the plugin is executing). I have already tried FormValidation using doCheckXYZ(), but while it shows the error message, it doesn't stop the user from saving those incorrect values. Also it doesn't seem to work with Pipelines. Is there any other way?

0

There are 0 best solutions below