Jenkins Git plugin included regions not working

后端 未结 4 1742
挽巷
挽巷 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 08:59

    I just had this problem, and the answer was slightly different than the other answers. That being said, the solution lay in the question itself. For me, I had paths in the "Included Regions" with the pattern:

    service/Search/AbstractSearchServices/master/**/*
    

    I changed the pattern to:

    service/Search/AbstractSearchServices/master/.*
    

    Once I changed to that pattern, it worked perfectly for me.

提交回复
热议问题