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

When condition for Changeset with comparator

    XMLWordPrintable

    Details

    • Similar Issues:
    • Released As:
      1.5.0

      Description

      https://issues.jenkins-ci.org/browse/JENKINS-48523  added support to the tag when condition with the comparator. 

      At the moment, the changeset when condition does support GLOB, but no REGEXP patterns. Let's standardize the changeset condition format as done with the tag condition.

      when {
          changeset "**/*.java"
      }
      when {
          changeset pattern: "**/*.java", comparator: "GLOB"
      } 
      when {
          changeset pattern: ".*\\.java", comparator: "REGEXP"
      } 

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              v2v Victor Martinez
              Reporter:
              v2v Victor Martinez
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: