CCLee
CCLee

Reputation: 1

Jenkins pipeline script path

After setting up the GitHub path in the Jenkins pipeline definition SCM (using GitHub webhook), can set the Jenkinsfile script path below to be in another repository on GitHub?

enter image description here

Thanks.

For example:

Webhook repository (https://github.example.com/example/test.git

Jenkinsfile repository (https://github.example.com/jenkinsfile/jenkinsfile-test.git)

Upvotes: 0

Views: 71

Answers (1)

Mohammed Ehab
Mohammed Ehab

Reputation: 323

to get the Jenkinsfile from repo as the Jenkinsfile of another one (based on what I understood)

you can use a plugin in it called remote jenkins provider

Upvotes: 0

Related Questions