Showing custom ajax content from web-method in job-configuration

13 views
Skip to first unread message

Kirill Merkushev

unread,
Jan 17, 2016, 6:31:59 AM1/17/16
to Jenkins Developers
I'm working on https://issues.jenkins-ci.org/browse/JENKINS-24690
and i need a way to show warning on config page. 

Now GH Trigger haven't any job configuration, so i can't use existing form validation method.

I have a some kind of workaround with creating dummy-config with content
f.entry(field: 'hookRegistered', style: 'display:none;') {
f.textbox(style: 'display:none;')
}

and doCheckHookRegistered web-method. It works as expected, but looks a little bit ugly

is there any other way?

Screenshot of a trouble: 
Reply all
Reply to author
Forward
0 new messages