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

No commit for max age generates build error each SCM Poll

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • git-plugin
    • None
    • Jenkins Ver 2.150.2

      Branch specifier set to refs/tags/*

      Max age used to only build recent tags.

      If no tags within max age range, there is nothing to build, no jobs needed.

      However, a job still gets created each SCM polling cycle which generates an error due to no commits found.

      Git plugin 3.9.3

      Email extension plugin 2.64

      More info:

      Same problem if I open up max age to include some tags, but the first jobs succeed in building the tags it found.  Then back to creating jobs w/ no valid tags.

      Error message looks like this:

      > git show-ref --tags -d # timeout=10
      ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.

      Something else is odd.   Not all the tags within the max age range are built.  Looks like only the most recent tag on each branch gets built.

            Unassigned Unassigned
            bhill_slac Bruce Hill
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: