• Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • p4-plugin
    • None
    • Jenkins 2.60.1
      p4-plugin 1.7.2

      The label "now" is treated as a "normal" label. This, however, has implications when polling, because the "now" "label" gets (implicitly) updated: comparing last build label "now" to the head revision never finds changes. (I started trying to use p4 with 1.4.9, and I couldn't get it to stop triggering builds or to trigger builds at all until I fixed that. Don't remember details anymore...)

      Instead, using the label "now" as a pin should have the same meaning as no / empty pin, that is, in a few locations the check for null/empty pin should also check for inequality with "now".

      This affects:
      PerforceScm.java line 370
      CheckoutTask.java lines 193, 196, 222
      PollTask.java line 52
      (Essentially, grep for null.*isEmpty  and ignore all those false positives...)

          [JENKINS-45639] Handling of 'now' label

          There are no comments yet on this issue.

            Unassigned Unassigned
            rk R K
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: