Jenkins Integration - Start build if file exists

Best practices, code snippets for common functionality, examples, and guidelines.
yaro2o
Posts: 95
Joined: Mon Jan 29, 2018 11:19 am

Jenkins Integration - Start build if file exists

Post by yaro2o » Thu Jun 13, 2019 7:21 am

HI, I have created a project in jenkins that wanted me to be fired when the file appears in the given location or will be changed, I found such a plugin Conditional BuildStep Plugin but how would I not configure it always runs the project, maybe someone has already done something and would share knowledge?

yaro2o
Posts: 95
Joined: Mon Jan 29, 2018 11:19 am

Re: Jenkins Integration - Start build if file exists

Post by yaro2o » Thu Jun 13, 2019 8:06 am

Ok, I found two Triggers and now it works. FSTrigger and Files Found Trigger :)