rohit
rohit

Reputation: 1549

Build with parameters for GitHub organization

Is there a way we can add build with parameter option in jenkins for github organization project??

Appreciate for your answeres.

something like this

Upvotes: 1

Views: 816

Answers (1)

Rich Duncan
Rich Duncan

Reputation: 1923

First, if you're using the GitHub Organization - It is deprecated and hasn't been updated in 2 years.

https://plugins.jenkins.io/github-organization-folder

So you might want to consider using the Multi Branch Pipeline (MBP) in conjunction with Job DSL instead.

Next - the idea is that the MBP is dynamically creating branch 'jobs' when it scans the repo you provide. I'm not sure that you can't put a parameter block in the pipeline you create, but if you did and it worked, I wonder if the job can be automatically triggered.

https://jenkins.io/doc/book/pipeline/syntax/#parameters

Upvotes: 2

Related Questions