Jenkins Git plugin included regions not working

后端 未结 4 1741
挽巷
挽巷 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:50

    For me it started working when checking "Force polling using workspace" under "Source-Code-Management - Additional Behaviours" in the job config. Smells like a bug - there are several open regarding the included/excluded regions feature of the git plugin.

    EDIT: it stopped working after updating jenkins and the git plugin. The cause is probably:

    https://issues.jenkins-ci.org/browse/JENKINS-20607

    I am thinking of moving to this method here

提交回复
热议问题