Jenkinsfile for monorepo?

219 views
Skip to first unread message

robert...@dealertrack.com

unread,
Mar 10, 2017, 9:30:54 AM3/10/17
to Jenkins Users
Anyone using pipeline/Jenkinsfile for a repository having several child projects/"monorepo"?  

We are using one top-level Jenkinsfile with conditional building based on what is in the diff, wondering if there is a way to have each project use it's own Jenkinsfile instead.

Cuong Tran

unread,
Mar 10, 2017, 4:14:05 PM3/10/17
to Jenkins Users
You can specify the path to the Jenkinsfile, "projectA/Jenkinsfile".  Doesn't work for multi-branch pipeline though.
Reply all
Reply to author
Forward
0 new messages