Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I want to specify this is my own experience and I think a lot of our own issues may have been from mismanaging our self-deployed setup. I’ve had a lot more experience managing Jenkins.

GitLab and their approach to CI (easy to use yaml) really facilitated developers writing CI, which increased our software quality overall.



Have you used the Jenkins Job DSL plugin?

I'm just getting started using it, but it seems like the solution to scaling up to a lot of Jenkins jobs. There's a good talk about it, and since you're one of only two people in the thread who used the word DSL and you are having a good experience with Jenkins, I thought I'd ask.

My config is similar except my single EC2 node is actually running Kubernetes via kubeadm, it's a single node Kubernetes cluster and has enough room for about 3 of my worker pods to execute concurrently before the rest have to wait.

(But that's just my setup and has nothing to do with Job DSL.)

For me, managing Jenkins via the helm chart has been the best part of the deal, but I'm a pretty big fan of Helm already...


I haven’t used it, we use the GitHub Org Folder scan to automatically add a job for every Repo that has a Jenkinsfile- so I don’t have to do anything, it’s pretty great.


Awesome, that also sounds good

The big advantage of the job DSL plugin is that if you have many similar repos, you don't just treat them all the same with multiple copies of the same Jenkinsfile, you actually can build the jobs from the same source, inheritance-style.

There could be some reasons not to do this, but if you have 100 jobs and 20 or more of them are mostly identical in form except for some parameter, it's a better strategy than multiple Jenkinsfile.

But then again if your Jenkinsfile isn't changing, it might not matter.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: