by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Mark Waite
    @MarkEWaite
    Yes, it provides a self-contained runtime environment for a Jenkins server.
    There is a slimvariant that uses Debian slim and an Alpine variant for those who prefer Alpine
    Marky Jackson
    @markyjackson-taulia
    @MarkEWaite beat me to it :laughing:
    Steven Lembark
    @lembark_gitlab
    Jenkins requires the entire Debian distro to start up?
    Including uucp?
    Mark Waite
    @MarkEWaite
    The goal of the Docker image is to provide a working environment for many uses cases, not to provide the minimum distribution that will allow Jenkins to start. Jenkins will start without installing command line git and without installing git-lfs, but users have preferred a working environment over a minimal environment. The alpine tag is more likely what you want if you're seeking a minimal environment
    Marky Jackson
    @markyjackson-taulia
    +1
    Mark Waite
    @MarkEWaite
    Even the Alpine installation installs command line git so that the user starts with a working environment.
    Steven Lembark
    @lembark_gitlab
    You still can: Layer the O/S on top of a working, minimal jenkins image.
    At that point you can layer whatever distro you like.
    Marky Jackson
    @markyjackson-taulia
    Yes, this is true but we are giving an image to satisfy multiple use cases
    Steven Lembark
    @lembark_gitlab
    Layering the distro on top of jenkins solves them with a single jenkins distro: slap anything you like on it: Arch, Gentoo, Debian, RH... or a subset that doesn't include pieces with security issues that prevent using it in the first place because the distros include problematic executables.
    Marky Jackson
    @markyjackson-taulia
    PR’s welcome
    Steven Lembark
    @lembark_gitlab
    Odds of reversing the stack to include a bare Jenkins executable?
    Mark Waite
    @MarkEWaite
    Odds of reversing the stack to include a bare Jenkins executable are near zero in my opinion.
    Marky Jackson
    @markyjackson-taulia
    +1
    Steven Lembark
    @lembark_gitlab
    Q: When installing jenkins it tries to pull plugins from the net; is there any way to have them acquired from the local system?
    The systems I'm installing on have no outbound network access.
    Marky Jackson
    @markyjackson-taulia
    I have seen Jenkins configuration as code do this in airgapped situations
    Mark Waite
    @MarkEWaite
    Yes. Plugins can be installed locally in a custom Docker image. Refer to https://github.com/jenkinsci/docker#preinstalling-plugins for a way to define a plugins.txt file that will allow you to build a Docker image where you have network access, then you can transport the created image into the environment that has no network access.
    Marky Jackson
    @markyjackson-taulia
    Steven Lembark
    @lembark_gitlab
    Thank you.
    Sanity check: JENKINS_UC='https://localhost' would leave everything coming from the local system?
    Mark Waite
    @MarkEWaite
    You probably want to read https://www.jenkins.io/doc/book/installing/#offline-jenkins-installation if you're considering an offline installation of Jenkins. That's a recent arrival in the documentation thanks to the efforts of the UX Hackfest in late May. If you find mistakes or flaws in that document, pull requests would be much appreciated to update or correct its content
    Steven Lembark
    @lembark_gitlab
    Oooohhh, luvly: New bedside reading. This environment is close to offline, so that's probably the place to start.
    Thank you.
    Steven Lembark
    @lembark_gitlab
    i.e., zip it from someplace else seems to be the sanest way.
    Justin Harringa
    @justinharringa
    This is also a good way to get yourself your own Docker container image with the plugins you want
    Gavin Mogan
    @halkeye
    Docker also has the install plugins sh file which makes baking your own image easier
    Vlad Silverman
    @vsilverman
    Is there a tool or plugin to silently build and instantiate a docker image with Jenkins inside? I would expect it to have functionality similar e.g. to maven archetype plugin, allowing to create from cli a wide range of Jenkins apps. This range may be from a quickstart “hello world” to multi cluster k8s deployments and beyond. IMO simplicity of usage for such tool may attract many new Jenkins adopters.
    Alex Earl
    @slide
    @vsilverman there is nothing like that that I know of
    2 replies
    Mark Waite
    @MarkEWaite
    @vsilverman there is custom war packager that will create a custom war file that includes a set of plugins and other configurations. There is the Google Summer of Code project "Custom Jenkins distribution build service" currently running that is creating something that might be similar to what you're envisioning.
    Vlad Silverman
    @vsilverman
    Thanks @MarkEWaite for sharing CWP plugin. I had looked at https://www.jenkins.io/blog/2018/10/16/custom-war-packager/ - it may be a good base point to start further development
    Roberto Calderon
    @Roberto12783780_twitter
    Hello all...I am new to Jenkins...trying to install it on an Openshift Systen z (s390x) cluster...I have been able to install the RH image called ose-jenkins and it installs OK but I am unable to access the Jenkins UI...When I go to the exposed route I see only this : Jenkins-Agent-Protocols: JNLP4-connect, Ping
    Jenkins-Version: 2.222.1
    Jenkins-Session: 1c93a583
    Client: 10.129.2.1
    Server: 10.128.3.71
    Remoting-Minimum-Version: 3.14
    Am I missing a plug-in to enable the console? Any help/guidance will be greatly appreciated!
    Alex Earl
    @slide
    Where did that image come from? It doesn't look like an official Jenkins image
    Roberto Calderon
    @Roberto12783780_twitter
    I dont know if its official but it coming from RH I ASSsumed its a good one...
    if you can point me to a different/official image I will be more than happy to try it
    BTW I used the one called Jenkins 2
    Alex Earl
    @slide
    You need s390x arch?
    We publish s390x images in our experimental repository right now: https://hub.docker.com/r/jenkins4eval/jenkins/tags?page=1&name=s390x
    Roberto Calderon
    @Roberto12783780_twitter
    yes I would like to keep it all in s390x
    if I install that container, will it have the UI components too?
    thats the part I am having a hard time with...how do I get to the UI with the image I installed already...have played with several plugins/options etc but can not get the UI exposed for some reason...but then again, I am new new to Jenkins :-)
    I see various imges on that link (I had been there before)...which one would you suggest I install that is the most complete one?
    Mark Waite
    @MarkEWaite
    Since that image is provided by Red Hat, I would assume they can provide you the best support to install and run on s390x
    Roberto Calderon
    @Roberto12783780_twitter
    :-) you would think LOL!
    trying that route too...
    I am happy to try the experimental ones Alex pointed to...just would like to know which one he would suggest? jenkins:latest-s390x???
    Alex Earl
    @slide
    I would use an LTS if possible
    Venkatesh Meruva
    @meruvavenkatesh
    Hi All,
    what is the default cpu & memory utilization of Jenkins tools in docker container?
    how we can find out utilization of jenkins tools in docker container?