These are chat archives for jenkinsci/jenkins

25th
Sep 2017
PaweĊ‚ Maciejewski
@pmaciejewski
Sep 25 2017 17:20

hi there, do you know is there possibility with usage of jenkins pipeline to handle two modules in one repository? My requirements are:

  • one repository - git - github
  • multiple pipelines - for one module each
  • multiple triggers distinguished by path in repo

Example:

/
  /module-A
    Jenkinsfile
    /src
  /module-B
    Jenkinsfile
    /src

Currently I use that repository for single project and as we migrate towards multiple (micro)services I have need to provide such setup. Do you have any articles, plugins or any other source of knowledge? Tried to google with no luck.

What is crucial is that changes in path /module-B/* should not trigger any action for /module-A/* and so on.
Also, I'm aware of advanced git options, but with pipelines and Jenkinsfile I'm not finding it useful