Skip to content

Support for git sparsepath #66

@andrewmichaelsmith

Description

@andrewmichaelsmith

We have a set up where we have 1 git repo with many subdirs and many jenkins projects.

For example:

gitrepo/
    proj1/
    proj2/
    proj3/

proj1, proj2 and proj3 are independent applications and built independently.

The current jenkins setup we have for them is using jenkins scm includedRegions and git plugin's sparsepath we can effectively treat proj1, proj2 and proj3 as separate repos. This means that with the usual jenkins notifyCommit jenkins will only build proj1 if proj1 has changed.

We'd really like to use build_now with this scm/git feature but right now it will indiscriminately fire a change (commits on proj2 will cause an unnecessary build of proj1).

My initial readings of the gitlab docs (https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/web_hooks/web_hooks.md) suggest we do get posted enough information to do this. Is this something you'd consider developing or consider a pull request for?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions