Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    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?
    Venkatesh Meruva
    @meruvavenkatesh
    I'm getting below value for usage for jenkins memory & cpu in idle state
    Mem% cpu% Memory usage/Limit Name
    10.01% 0.99% 3.145GiB / 31.41GiB jenkins
    Venkatesh Meruva
    @meruvavenkatesh
    How can we find out 10.01% memory utilization for jenkins tool...?
    Alex Earl
    @slide
    @meruvavenkatesh I don't think anyone could really answer what the default utilization is since different people have different workloads, plugins, etc
    Venkatesh Meruva
    @meruvavenkatesh
    @slide Thanks for the replay...
    Is there anyway to check memory allocation for plugins, workload..etc like that...?
    Alex Earl
    @slide
    You could try getting a heap dump via normal Java methods
    Venkatesh Meruva
    @meruvavenkatesh
    @slide Thanks
    Graeme Wilson
    @techlunacy
    hi all, sorry for a question that is probably answered elsewhere, i looked and keep getting confused.
    fundamentally what JVM options should i use for running jenkins in a kubernetes environment. using the lts-centos image
    Gavin Mogan
    @halkeye
    @techlunacy i think this gitter is more for the development of the docker images, more than just using docker. I would recommend asking on the users mailing list.
    I've been using the default though, so i'm not sure you need any unless you need to tweak a specific thing
    Graeme Wilson
    @techlunacy
    @halkeye no problems, thanks
    Mark Waite
    @MarkEWaite
    @techlunacy the CloudBees Jenkins Health Advisor plugin offers suggestions on JVM arguments and I believe they are as applicable to Docker as anywhere. Or, if you want the JVM arguments that I use with my Docker images (Debian, Debian slim, and Alpine), see https://github.com/MarkEWaite/docker-lfs/blob/a1aac71dd168c0826b0983468e756c2aedbfe180/docker_run.py#L123 . Your mileage will vary
    Gavin Mogan
    @halkeye

    "-DBLUEOCEAN_FEATURE_AUTOFAVORITE_ENABLED=false",

    <3 @MarkEWaite good call on that one

    Mark Waite
    @MarkEWaite
    :) @halkeye the blue ocean autofavorite heuristics are good examples of the challenge created by a heuristic. They are "fallible rules" and in that case, they failed for me much more often than they succeeded
    Gavin Mogan
    @halkeye
    yea, they needed to unfav old items, it just grew and grew and grew and grew
    somnathg-fullstack
    @somnathg-fullstack
    Used jenkins/jenkins docker image to install jenkins....but not able to move beyond Install plugin page....getting "no valid crumb was included in the request" error...what shoild I do
    2 replies
    Edward Finlayson
    @Technoboggle

    Hi All,
    Noobie question here, just installed Jenkins:lts-apline (really great implementation btw) and during the setup process the Jenkins URL is presented to me to edit. By default it's http://localhost:8080/ how can I change this and/or expose Jenkins to my local network, or even through my router so that git hooks can be implemented?

    Thanks in advance

    Jon Brohauge
    @jonbrohauge
    @Technoboggle
    Are you looking for this?
    "Manage Jenkins" -> "Configure System" -> "Jenkins Location" -> "Jenkins URL"
    Or are you looking for something more dynamic, a.k.a Configuration as Code?
    Edward Finlayson
    @Technoboggle
    I was hoping to setup a Dockerfile that would contain the base settings and config for my CI tasks like installing PHPUnit PHPab CS etc as well as he toolchain to execute on push builds. This would enable me to destroy the container at will and rebuild to the fully functioning test setup. Sorry if my terminology has muddied the water
    8 replies
    Masber
    @Masber
    hi, does it makes sense to use the jenkins docker agent when jenkins itself runs in a container?
    1 reply
    jcck2016
    @jcck2016
    Hi All, i pulled the official jenkins docker image try to setup jenkins in ubuntu
    however when i ran the command docker run jenkins/jenkins
    or trying to set a specific using docker run -p 8181:8181 jenkins/jenkins
    i was not able to reach the jenkins web site with neither port 8080 or 8181, can you let me know why ? i am running the ubuntu vm on virtual box
    jcck2016
    @jcck2016
    i answered my own question 8080 just worked, probably not good to mess it around, i checked firewall ufw it was not active
    Gavin Mogan
    @halkeye
    Btw I would recommend the general Jenkins channel next time. There tends to be more people around
    Harshad Dabhade
    @Harshad09
    Hello everyone I am Harshad Dabhade
    And I am very interested in Jenkins.
    I wanted to contribute to a project where a plugin to automate polling of image changes and security scans, need to be developed but I am not getting the Github repository, of this project can anyone help me out.
    Gavin Mogan
    @halkeye
    so this channel is for "jenkins docker packaging and plugins". I don't think your question (and you didn't really ask one) is related to that. There is a tutorial on making plugins - https://www.jenkins.io/doc/developer/tutorial/
    vivek kumar sahu
    @viveksahu26
    Hello everyone !! I am newbie here.. I know java and docker both, but i am not getting the projects to contribute. Can anyone help me out to get repo . And any suggestion anyone like to add for newcomer..