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!