I am using the following parameter which should validate empty string and
show the error message, but the validation message should disappear if
there is an non empty string input for the parameter. But the parameter is
not working. Does anyone have any idea? I searched, but couldn't find
anything. Please help.

 parameters {
        validatingString(name: "test", defaultValue: "", regex:
/^(?!\s*$).+/, failedValidationMessage: "Validation failed!", description:
"test desc")
    }


Regards,
Venkatesh

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAPp28eqnniCUcuEp6Vj_FbPx2XX4L9sWE49q2VEdM5xsV0xmag%40mail.gmail.com.

Reply via email to