Do you really have to use multi-branch pipeline to do pipeline as code?

2019-10-28 Thread Tim Black
Just double checking this, at the below link it says the only way to use pipeline as code is to use the multi Branch pipeline configuration. Is this really true? https://jenkins.io/doc/book/pipeline-as-code/ I thought perhaps there was a way to configure a job that doesn't monitor for branches

Re: Trying to get Github events like "commit comments and pushes" to build the jenkins pipeline Job

2019-10-28 Thread Jan Monterrubio
https://github.com/jenkinsci/github-pr-comment-build-plugin Does that plugin do what you want? On Thu, Oct 24, 2019 at 08:17 kishore babu wrote: > Based on the commit comment, I would like to trigger the Pipeline Job. > Firstly unable to get the commit trigger to build the Pipeline Job. > Can s

Re: Do you really have to use multi-branch pipeline to do pipeline as code?

2019-10-28 Thread Mark Waite
The pipeline as code page teaches users how to automate the creation, execution, and deletion of pipeline jobs based on the creation and deletion of jobs. You're welcome to define a pipeline job that include the pipeline definition in the job or you can define a pipeline job that reads the job def