Reputation: 1
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?
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
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