pathignore plugin help

19 views
Skip to first unread message

Nick Lee

unread,
Jun 3, 2015, 2:04:52 PM6/3/15
to jenkins...@googlegroups.com
I'm trying to set up a job that only triggers when files in certain directories have changed. I'm using Perforce SCM and have that set up properly to sync files.

I've downloaded and installed the pathignore plugin. In the project configuration, I've enabled the "Do not build if only specified paths have changed" and the "Invert ignore?" checkboxes. However, no matter what I put in the "Ignored paths" field, I always get a result of "NOT_BUILT".

I've tried entering:

  • absolute path (e.g.: "d:\my_project_root\**")
  • relative path (e.g.: "**")
  • Perforce file specification (e.g.: //perforce_depot/**)
Each time, I get the same result of "NOT_BUILT". I've even tried specifying specific files that I know have been submitted to SCM, but nothing seems to work.

Can someone help me? What am I doing wrong?

Nick Lee

unread,
Jun 3, 2015, 2:09:46 PM6/3/15
to jenkins...@googlegroups.com
In case it helps, here's the console output too:

Including paths matching patterns: ["d:\my_project_root\**"]
No paths passed filter, skipping build.
Changed paths: []
Skipped archiving because build is not successful
No emails were triggered.
Finished: NOT_BUILT

It seems fishy to me that "Changed paths" is showing up as an empty list, even though the console output shows that files were actually synced from Perforce.
Reply all
Reply to author
Forward
0 new messages