Jenkins pipelines as YAML
jenkins.io
Jenkins pipelines as YAML
1–10 of 76 posts
Re: Jenkins pipelines as YAML
#2Re: Jenkins pipelines as YAML
#3It would be great if there was a pre-run remote lint step like can be run on Declarative Pipeline jobs (https://jenkins.io/doc/book/pipeline/development/#linter).
Re: Jenkins pipelines as YAML
#4Re: Jenkins pipelines as YAML
#5ha YAML, when mentioned, always reminds that taking a look at the specs[1] is a great reminder that things can derail badly event without a large committee [1] http://yaml.org/spec/1.2/spec.html
Re: Jenkins pipelines as YAML
#6Re: Jenkins pipelines as YAML
#7Re: Jenkins pipelines as YAML
#8This would be great if you didn't have to use scripted pipelines for so much stuff. Declarative pipeline isn't there yet.
Re: Jenkins pipelines as YAML
#9This just appears to be a layer on top of the still-limited declarative pipelines. I'm not sure trading a groovy DSL for an extra layer (of yaml, no less) is a good deal.
It doesn't solve the weirdness around multibranch, it doesn't address the mismatch between having a parameterized pipeline where that parameterization has to live outside the Jenkinsfile (or if it is encoded in the Jenkinsfile, it acts really oddly, like running the Jenkinsfile actually reconfigures the job that invoked it, etc). This is why everyone has to continue using Groovy DSL and/or JJB to reinstantiate parameterized jobs or handle jobs that deal with multiple Jenkinsfiles in a project.
I know Jenkins isn't going anywhere but it's legacy shows a lot.