Missing configuration section for plugin

23 views
Skip to first unread message

Daniel Lo Nigro

unread,
Nov 9, 2016, 1:36:27 AM11/9/16
to Jenkins Developers
Hi!

I recently released a Jenkins plugin, the GitHub Issue Plugin. I created a global configuration section through a global.jelly file as shown in the tutorial. I see it fine in my development environment (testing with "mvn hpi:run"), but I don't see it when I install the plugin in my production environment. Everything else in the plugin is working fine, it's just the configuration section that's missing. I'm testing with the exact same version of Jenkins I have in prod (2.19.2). 

Any ideas what I should look for to determine why it's not appearing?

Thanks!

Oleg Nenashev

unread,
Nov 16, 2016, 10:17:19 AM11/16/16
to Jenkins Developers
Do you see any warnings in the Jenkins startup log? If no, try setting up the FINE level and restarting, maybe there will be something useful.
The plugin itself looks good.

Just in case, I would recommend to update to the latest Parent POM and to remove the explicit Jenkins Test Harness specification

среда, 9 ноября 2016 г., 7:36:27 UTC+1 пользователь Daniel Lo Nigro написал:

Daniel Lo Nigro

unread,
Nov 16, 2016, 11:36:51 PM11/16/16
to jenkin...@googlegroups.com
Hey Oleg, thanks for the reply. I worked out the problem. It was a simple mistake - The casing of the resources directory was incorrect. I called it "GithubIssueNotifier" when it should have been "GitHubIssueNotifier" (capital H). I was developing on Windows and NTFS is not case sensitive, so I didn't notice the problem in my dev environment. Renaming the directory fixed it :)

Thanks!

--
Regards,
Daniel Lo Nigro
http://dan.cx/ | Twitter | Facebook

--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-dev/3kCvNGZA5a4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-dev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/83264393-6160-49b0-b86c-d0592929a36c%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages