Jenkins Git plugin included regions not working

后端 未结 4 1740
挽巷
挽巷 2021-02-05 08:12

I cannot get the \"included regions\" feature to work in Jenkins with the Git plugin. I want a job only to be built when there a changes in \"his\" directory. Example: the proje

4条回答
  •  误落风尘
    2021-02-05 09:11

    Just a note for others visiting this site because they have problems with included-regions as I had:

    I also had trouble with path pattern tools/mytool/.* which was not working as included-region. The reason was that I did enable the shallow clone option in git scm settings. When the option was disabled the included-region parameter worked as expected.

提交回复
热议问题