Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-17652

Poll Exclude Files Too Aggressive on Blocking Builds?

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • p4-plugin
    • None
    • Jenkins: 1.511
      Perforce Server Version: 2012.1
      Java 1.7.0_17
      Perforce Plugin: 1.3.21
      Server: Windows 2008 R2

      Caveat - It's definitely possible that I don't understand how Poll Exclude Files should work. It seems like changes that should trigger a build when Poll Exclude Files are provided are not. I currently have this in my Poll Exclude Files section (all paths are in the Client Spec):

      //<afilepath>/VersionInfo.cs
      //<afilepath>/VersionInfo.rc2
      "//<asecondfilepath>/config/buildinfo/..."

      Below is the polling log for one of my builds. I would have expected that CS 184776 would have triggered the build, however, polling reports that it is an excluded file.

      Exclude file(s) found:
      //<asecondfilepath>/UTandCover.fbp7
      Changelist 184776 is composed of file(s) and/or user(s) that are excluded.

      I thought I had excluded all "buildinfo/..." files which are in a different subdirectory, but maybe I can't exclude files when they are in the same root dir?

      Thanks

      --------------------------------------------------------------

      Started on Apr 17, 2013 8:04:53 AM
      Looking for changes...
      Using node: <blah>
      Using remote perforce client: <blah>
      [jenkins] $ "C:\Program Files\Perforce\p4.exe" workspace -o <blah>
      'Don't update client' is set. Not saving the client changes.
      [jenkins] $ "C:\Program Files\Perforce\p4.exe" counter change
      [jenkins] $ "C:\Program Files\Perforce\p4.exe" -s changes -s submitted //<blah>/...@184734,@184829
      Latest submitted change selected by workspace is 184807
      [jenkins] $ "C:\Program Files\Perforce\p4.exe" describe -s 184807
      [jenkins] $ "C:\Program Files\Perforce\p4.exe" -G where //...
      Exclude file(s) found:
      //<afilepath>/VersionInfo.rc2
      Changelist 184807 is composed of file(s) and/or user(s) that are excluded.
      [jenkins] $ "C:\Program Files\Perforce\p4.exe" describe -s 184806
      Exclude file(s) found:
      //<afilepath>/VersionInfo.cs
      Changelist 184806 is composed of file(s) and/or user(s) that are excluded.
      [jenkins] $ "C:\Program Files\Perforce\p4.exe" describe -s 184776
      Exclude file(s) found:
      //<asecondfilepath>/UTandCover.fbp7
      Changelist 184776 is composed of file(s) and/or user(s) that are excluded.
      [jenkins] $ "C:\Program Files\Perforce\p4.exe" describe -s 184754
      Exclude file(s) found:
      //<asecondfilepath>/config/buildinfo/Item3.17.0.0.buildinfo
      Changelist 184754 is composed of file(s) and/or user(s) that are excluded.
      [jenkins] $ "C:\Program Files\Perforce\p4.exe" describe -s 184751
      Exclude file(s) found:
      //<asecondfilepath>/config/buildinfo/Item2.17.0.0.buildinfo
      Changelist 184751 is composed of file(s) and/or user(s) that are excluded.
      [jenkins] $ "C:\Program Files\Perforce\p4.exe" describe -s 184748
      Exclude file(s) found:
      //<asecondfilepath>/config/buildinfo/Item1.17.0.0.buildinfo
      Changelist 184748 is composed of file(s) and/or user(s) that are excluded.
      [jenkins] $ "C:\Program Files\Perforce\p4.exe" describe -s 184746
      Exclude file(s) found:
      //<afilepath>/VersionInfo.rc2
      Changelist 184746 is composed of file(s) and/or user(s) that are excluded.
      [jenkins] $ "C:\Program Files\Perforce\p4.exe" describe -s 184745
      Exclude file(s) found:
      //<afilepath>/VersionInfo.cs
      Changelist 184745 is composed of file(s) and/or user(s) that are excluded.
      Done. Took 5.9 sec
      No changes

            rpetti Rob Petti
            jedavis Jason Davis
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: