Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support environments without access to the Internet #8

Closed
jaranflaath opened this issue Aug 16, 2013 · 6 comments
Closed

Support environments without access to the Internet #8

jaranflaath opened this issue Aug 16, 2013 · 6 comments
Assignees

Comments

@jaranflaath
Copy link

Hi,

we have our Jenkins server running in an environment without access to the internet. Would it be possible to have a version of the build monitor plugin that does not require internet access, but have all required resources bundled with the plugin?

@jan-molak
Copy link
Member

Hi and thanks for taking your time to give me your feedback!

All the resources that the monitor uses should already be bundled with it (javascript, css, angular, etc). Could you please help me understand your request better by clarifying the following:

  • are you referring to the fact that you can't download the plugin from Jenkins Update Centre, because your Jenkins doesn't have access to the Internet
  • or is there any particular issue you're seeing with the behaviour of the plugin when it's run on Jenkins without access to the Internet?

@jaranflaath
Copy link
Author

Hi, thanks for the quick response.

I've manually downloaded the plugin and installed it in Jenkins, but when I create a new view based on the Build Monitor View, the view takes a very long time to load. Upon inspecting, i saw there were requests to fonts.googleapis.com and to ajax.googleapis.com to download webfonts and angularjs.

Once these requests time out, the view shows up with only the view name on top, and the configuration cog.

Opening the log, shows the error: No module: ngCookies.

Because of the requests to googleapis.com I drew the conclusion that this error was due to the external resources, which we are unable to access - but I may very well be wrong! :)

@jaranflaath
Copy link
Author

@jan-molak
Copy link
Member

That's a very good point about the font, sir, I'll check if there are no license restrictions and if it's fine for me to distribute it with the plugin.

I'll also need to improve the way ngCookies is included if there's no Internet connection present.
I did some initial work in this area, and as you can see on line 19 I only load angular if it hasn't been loaded from googleapis. This works fine, since you're not getting any JavaScript errors for angular. What needs an improvement though, is the loading mechanism for ngCookies on line 21 which I shall look into.

Thanks for taking your time to investigate it :)

@ghost ghost assigned jan-molak Aug 16, 2013
@jaranflaath
Copy link
Author

Happy to help! Will keep an eye out for new releases :)

@shivanshi-tyagi
Copy link

Hi,
I have installed Jenkins and plugins on a machine that does not has internet access. Can you please tell me how can I use Jenkins without using Git ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants