News for hackers. Stuff that matters.
Re:Jenkins 2.0 Beta by robbyt on Friday March 25, 2016 @04:55PM (#11362616)
Yes, software is harder to manage (long-term) when the primary interface is a GUI.

However, the new Jenkins 2.0 fixes many of the issues you've described. Build pipelines are a major new feature, as well as the integration of a "Jenkinsfile" which allows configuration of jobs via a proprietary DSL.

Re:Jenkins 2.0 Beta by solipsism on Friday March 25, 2016 @05:23PM (#11362777)
the integration of a "Jenkinsfile" which allows configuration of jobs via a proprietary DSL

This makes no sense to me. Only how my project is built should be checked into the project's repo, not the whole CI/CD deployment pipeline! If I start deploying to Azure instead of AWS I need to commit that change to my project? It's nonsense.

Re:Jenkins 2.0 Beta by Macha on Friday March 25, 2016 @05:34PM (#11362836)
We use the pipeline plugin in my job and we use a seperate repo for pretty much the same reason. It's not a detail that's really part of the application (do you keep your chef cookbooks in the same repo?) and not only that but we use the same scripts across multiple apps.
Re:Jenkins 2.0 Beta by christop on Friday March 25, 2016 @05:32PM (#11362829)
The DSL can pull in other scripts from elsewhere, so you could just have a stub Jenkinsfile in your project, with the bulk of the pipeline config version-controlled in another repo.
Re:Jenkins 2.0 Beta by solipsism on Friday March 25, 2016 @06:29PM (#11363195)
And if I change where I keep my pipeline config, I have to commit a change to the project so it grabs it from the new place? Or pass it in as a parameter, so you need to know ahead of time what parameters the DSL will be expecting?

Come on now, we don't need to go to these contortions just to avoid saying that Jenkins is doing it wrong.

Re:Jenkins 2.0 Beta by christop on Friday March 25, 2016 @06:59PM (#11363374)
In this situation, yes.

You could indeed just use the Jenkinsfile for building a project. You can also specify the DSL config directly in a job, e.g. in a separate deployment job.

What would be the right place to define the deployment config?

Re:Jenkins 2.0 Beta by solipsism on Friday March 25, 2016 @10:42PM (#11364217)
In the job itself is fine... unless you want to version control it. This is a historical Jenkins weak-point. The plugins that exist to try to solve the problem are clumsy.

This Jenkinsfile is their solution to the problem. I'm saying it's not a very well thought-out solution, because now they're forcing us to put this thing that's not part of the project in the project, if we want it version-controlled.

Re:Jenkins 2.0 Beta by empath75 on Saturday March 26, 2016 @10:23AM (#11365711)
So don't use the Jenkins file. I have mine in a separate repo.
Re:Jenkins 2.0 Beta by unclebucknasty on Friday March 25, 2016 @07:13PM (#11363448)
Ugh. Not another proprietary DSL.

There is something amiss in the tech world these days. Too much esoterica and too many specialized tools, too many points of failure and dependencies, and too much duct tape. But, mostly, too much reinvention for frequently incremental "gains".

It seems normal, but it's really a mess. Environments are overly complex and it's a wonder anything works half the time.

At some point we will completely jump the shark. From there, my bet is there'll be a powerful movement towards simplicity.

/rant

Re:Jenkins 2.0 Beta by GFK_of_xmaspast on Friday March 25, 2016 @07:36PM (#11363560)
But all the lisp people always talk about how incredible it is that one can have all sorts of DSLs....
Re:Jenkins 2.0 Beta by solipsism on Saturday March 26, 2016 @12:00AM (#11364353)
Completely different. The Groovy DSL is a limited subset of Groovy. Lisp DSLs are embedded DSLs. They're libraries that help you write code in what looks like a new language, but the entirety of lisp remains at your disposal.
Re:Jenkins 2.0 Beta by lispm on Saturday March 26, 2016 @03:08AM (#11364758)
There are a lot DSLs writtn in Lisp, which don't use Lisp syntax and are not embedded.
Re:Jenkins 2.0 Beta by pswenson on Friday March 25, 2016 @04:57PM (#11362630)
being able to config jenkins via code is huge! looking forward to trying it
Re:Jenkins 2.0 Beta by brown9-2 on Friday March 25, 2016 @06:06PM (#11363045)
You can do this today with the Job DSL plugin.
Re:Jenkins 2.0 Beta by gnoway on Friday March 25, 2016 @07:45PM (#11363608)
You can do this today with the same Pipeline plugin they are announcing as a major feature for 2.0. It's been available for months.