When condition for Changeset with comparator

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • 1.5.0

      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"
      } 

            Assignee:
            Victor Martinez
            Reporter:
            Victor Martinez
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: