I have created the new project type, I would like to validate the job name
of project type i created.
What i tried:
1) As it is calling doCheckjobName of Hudson it is not invoking my
descriptor method doCheckjobName ().
2) Checked with newInstance() to throw Runtime exception/Failure but
though it throws exception but it doesn't print the error message in hudson
context rather simple response HTTP 500 content coming.Am i missing some
jelly to configure.
3) Tried with error.jelly but no luck.
I want either it can be done in form validation or on after submit, it
should flag the message in Error page.
Can any one help on this.
Thanks!
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/c74e4e82-31c1-48d0-841f-65ae25d53bec%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.