Re: [tsc][releng][integration] Jenkins pipelines with Blue Ocean
On 10/1/21 02:47, Robert Varga wrote:
Now pardon my ignorance, but what is the relationship between JJB YAMLs and Jenkinsfile? What I am looking for is some hint as to how I would go about converting them.So, pipelines live in a .jenkinsfile that resides at the root level of a repository. We will still need JJB to stub in the reading of that file which then defines _all_ the pipelines for a given project.
That being said, all verify/merge/release operations all end up going through the same pipeline with the LF pipeline library that we've been developing. So, yes, all your projects that migrate to pipelines will effectively go down to just one or a few named pipelines.
The saving grace here is that Blue Ocean doesn't load all known jobs right away. It's got infinite scroll and will do so as you scroll down, or you can use the search feature to find jobs that match the search. It _does_ work with the freestyle jobs, but not as well as a native pipeline.On the left hand side of the Jenkins Sandbox landing page you should now be able see "Blue Ocean" link.I think this will be fine -- we expect to have far fewer jobs than we currently have.
Andrew J Grimberg
Manager Release Engineering
The Linux Foundation